From 6129492031c1bfbb003568f640fb5abfb738d3f9 Mon Sep 17 00:00:00 2001 From: Lukian LEIZOUR Date: Sat, 4 Mar 2023 18:31:26 +0100 Subject: [PATCH] commit --- app.js | 2 +- register-commands.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index bc48b2d..de04381 100644 --- a/app.js +++ b/app.js @@ -120,7 +120,7 @@ bot.command('sb' , ctx => { //Discord commands client.on('ready', () => { console.log(`[Discord] Logged in as ${client.user.tag} !`); - client.user.setPresence({ activities: [{ name: 'La belle chaise', type : 'watching' }] }); + client.user.setPresence({ activities: [{ name: 'La belle chaise', type : 'Watching' }] }); }); client.on('messageCreate', async msg => { diff --git a/register-commands.js b/register-commands.js index 7a5771f..9ad0ed5 100644 --- a/register-commands.js +++ b/register-commands.js @@ -105,9 +105,13 @@ const rest = new REST({ version: '10' }).setToken(process.env.DISCORD); try { console.log('Started refreshing application (/) commands.'); - await rest.put( + /*await rest.put( Routes.applicationGuildCommands('1059559067846189067', '1062473997297668108'), { body: commands }, + );*/ + await rest.put( + Routes.applicationGuildCommands('1059559067846189067', '1081560091951636481'), + { body: commands }, ); console.log('Successfully reloaded application (/) commands.');