edit
This commit is contained in:
parent
075cdf66bd
commit
21f737e822
@ -30,7 +30,7 @@ module.exports = (token) => {
|
|||||||
try {
|
try {
|
||||||
console.log(`Started refreshing ${commands.length} application (/) commands.`);
|
console.log(`Started refreshing ${commands.length} application (/) commands.`);
|
||||||
const data = await rest.put(
|
const data = await rest.put(
|
||||||
Routes.applicationGuildCommands(1256304109393547305n, "1068240252092813373"),
|
Routes.applicationGuildCommands(1494066337092341842n, process.env.GUILD_ID),
|
||||||
{ body: commands },
|
{ body: commands },
|
||||||
).then(data=>console.log(`Successfully reloaded ${data.length} application (/) commands.`))
|
).then(data=>console.log(`Successfully reloaded ${data.length} application (/) commands.`))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user