feat: default shard localew

This commit is contained in:
TrèsAbhi committed 2024-03-05 11:00:53 -06:00
1 parent e355bd10b1
commit 6dcef6b199
2 files changed
+8 -2

No files matched your search

+4 -1
View File
@@ -18,7 +18,10 @@ export const debugCommand: CommandRegistry = {
const uptime = currentTime - executionStart;
const list = [
[t`bot.commands.debug.body.version`, packageJSON.version],
[t`bot.commands.debug.body.shard`, client.shard?.ids[0] ?? 'default'],
[
t`bot.commands.debug.body.shard`,
client.shard?.ids[0] ?? t`bot.commands.debug.body.shard.default`,
],
[
t`bot.commands.debug.body.uptime`,
`${Math.floor((uptime / 1000 / 60 / 60) % 24)}h ${Math.floor(
+4 -1
View File
@@ -106,7 +106,10 @@
"body": {
"title": "# Debug\n\n",
"version": "Version",
"shard": "Shard",
"shard": {
"$": "Shard",
"default": "default"
},
"uptime": "Uptime"
}
}