mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: default shard localew
This commit is contained in:
1 parent
e355bd10b1
commit
6dcef6b199
2 files changed
+8
-2
No files matched your search
@@ -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
@@ -106,7 +106,10 @@
|
||||
"body": {
|
||||
"title": "# Debug\n\n",
|
||||
"version": "Version",
|
||||
"shard": "Shard",
|
||||
"shard": {
|
||||
"$": "Shard",
|
||||
"default": "default"
|
||||
},
|
||||
"uptime": "Uptime"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user