Add Games
This commit is contained in:
parent
634f6771df
commit
983abedd32
16
commands/Games/chess.js
Normal file
16
commands/Games/chess.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
const { DiscordTogether } = require('discord-together');
|
||||
|
||||
client.discordTogether = new DiscordTogether(client);
|
||||
|
||||
module.exports = {
|
||||
name: 'chess',
|
||||
aliases: ['chess'],
|
||||
utilisation: '{prefix}chess',
|
||||
|
||||
execute(client, message) {
|
||||
|
||||
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'chess').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**`);
|
||||
});
|
||||
},
|
||||
};
|
16
commands/Games/poker.js
Normal file
16
commands/Games/poker.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
const { DiscordTogether } = require('discord-together');
|
||||
|
||||
client.discordTogether = new DiscordTogether(client);
|
||||
|
||||
module.exports = {
|
||||
name: 'poker',
|
||||
aliases: ['pocker'],
|
||||
utilisation: '{prefix}poker',
|
||||
|
||||
execute(client, message) {
|
||||
|
||||
client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'poker').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**`);
|
||||
});
|
||||
},
|
||||
};
|
|
@ -1,25 +0,0 @@
|
|||
module.exports = {
|
||||
app: {
|
||||
prefix: '$',
|
||||
token: ''
|
||||
},
|
||||
db: {
|
||||
DATABASE_URI: "",
|
||||
},
|
||||
opt: {
|
||||
DJ: {
|
||||
enabled: false,
|
||||
roleName: 'DJ',
|
||||
commands: ['back', 'clear', 'filter', 'loop', 'pause', 'resume', 'seek', 'shuffle', 'skip', 'stop', 'volume']
|
||||
},
|
||||
maxVol: 100,
|
||||
loopMessage: false,
|
||||
discordPlayer: {
|
||||
ytdlOptions: {
|
||||
quality: 'highestaudio',
|
||||
highWaterMark: 1 << 25,
|
||||
type: 'opus',
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user