This commit is contained in:
Lukian LEIZOUR 2023-03-04 18:31:26 +01:00
parent 8af87fc7ac
commit 6129492031
2 changed files with 6 additions and 2 deletions

2
app.js
View file

@ -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 => {

View file

@ -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.');