add Games
This commit is contained in:
		
							
								
								
									
										16
									
								
								commands/Games/ocho.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								commands/Games/ocho.js
									
									
									
									
									
										Normal file
									
								
							| @@ -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**`); | ||||
|         }); | ||||
|     }, | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user