diff --git a/commands/Games/ocho.js b/commands/Games/ocho.js new file mode 100644 index 0000000..97003b6 --- /dev/null +++ b/commands/Games/ocho.js @@ -0,0 +1,16 @@ +const { DiscordTogether } = require('discord-together'); + +client.discordTogether = new DiscordTogether(client); + +module.exports = { + name: 'UNO', + aliases: ['UNO', 'uno', 'ocho'], + utilisation: '{prefix}uno', + + execute(client, message) { + + client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'ocho').then(async invite => { + return message.channel.send(`Pour lancer l'activité merci de cliquer sur le lien suivant : ${invite.code} et pas sur le bouton **Jouer**`); + }); + }, +}; \ No newline at end of file