0.1.8 • Published 4 years ago
hawli-xox v0.1.8
❔ Hawli-xox
The "hawli-xox" package is a simple package designed to play XOX alias Tic Tac Toe on Discord bots. Currently only Turkish language is supported, later English will be added.
📩 You can join our Discord server for help
- To join our Discord server Click Here.
💠 Usage
const { tictactoe } = require('hawli-xox')
module.exports = {
name: 'xox',
run : async(client, message, args) => {
if (message.channel.name && message.channel.name.includes("xox")) {
if (message.channel.type === 'dm') return;
const member = message.mentions.members.first()
if(!member) return message.reply('Please mention a user.')
new tictactoe({
player_two: member,
message: message
})
}
}
}
//XOX (Tic Tac Toe) codes may differ according to the codes in the main file.
「ℹ」Version 0.1.8 Information
1) Folder arrangements