mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: player evolution
This commit is contained in:
1 parent
e49bd6aa68
commit
91da65196d
10 files changed
+193
-71
No files matched your search
@@ -124,20 +124,18 @@ try {
|
||||
});
|
||||
|
||||
console.log(`Refreshing ${guildCommands.length} guild command(s).`);
|
||||
Promise.all([
|
||||
rest.put(
|
||||
Routes.applicationGuildCommands(getClientId(), discord.sklld_guild_id),
|
||||
{ body: guildCommands },
|
||||
),
|
||||
rest.put(
|
||||
rest
|
||||
.put(
|
||||
Routes.applicationGuildCommands(getClientId(), discord.tres_guild_id),
|
||||
{ body: guildCommands },
|
||||
),
|
||||
]).then((guildData) => {
|
||||
console.log(
|
||||
`Successfully refreshed ${guildData.flat().length / 2} guild command(s).`,
|
||||
);
|
||||
});
|
||||
)
|
||||
.then((guildData) => {
|
||||
console.log(
|
||||
`Successfully refreshed ${
|
||||
(guildData as unknown[]).length
|
||||
} guild command(s).`,
|
||||
);
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user