UNPKG

xopbot

Version:

XOPBOT Is A Multipurpose Bot With Over 200+ Commands That Make You Love The Bot!

21 lines 855 B
const { tictactoe } = require('reconlx') const lineReplyNoMention = require('discord-reply'); const color = process.env.Color; module.exports = { name: 'tictactoe', cooldown: 10, permissions: ["SEND_MESSAGES"], clientpermissions: ["SEND_MESSAGES", "EMBED_LINKS"], premium: true, async execute(client, message, cmd, args, Discord) { const user = message.mentions.users.first() if (!user) { const nopr = new Discord.MessageEmbed().setTimestamp().setColor(`${color}`).setAuthor(`${message.author.username}`, message.author.displayAvatarURL({ dynamic: true })).setDescription(`**\`(prefix)tictactoe <@user>\`**`) return message.lineReplyNoMention({ embed: nopr }) } new tictactoe({ player_two: user, message: message }) } }