This commit is contained in:
Lukian LEIZOUR 2023-03-28 11:33:55 +02:00
parent c4f0c65098
commit 85a9b7e674
3 changed files with 63 additions and 11 deletions

View file

@ -97,6 +97,11 @@ const commands = [
name : 'getmyguota',
description : 'Get your quota',
},
{
name : 'github',
description : 'Get the github link of the bot',
},
];
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD);
@ -106,15 +111,15 @@ const rest = new REST({ version: '10' }).setToken(process.env.DISCORD);
console.log('Started refreshing application (/) commands.');
await rest.put(
Routes.applicationGuildCommands('1059559067846189067', '1062473997297668108'),
Routes.applicationGuildCommands('1059559067846189067', '1062473997297668108'), //Les Clochards
{ body: commands },
);
await rest.put(
Routes.applicationGuildCommands('1059559067846189067', '1081560091951636481'),
Routes.applicationGuildCommands('1059559067846189067', '1081560091951636481'), //Fish and Chips
{ body: commands },
);
await rest.put(
Routes.applicationGuildCommands('1059559067846189067', '1059248968028139640'),
Routes.applicationGuildCommands('1059559067846189067', '1059248968028139640'), //Serveur de test
{ body: commands },
);