Skip to content

Commit 722b06f

Browse files
committed
Better ping formatting
1 parent 90938a4 commit 722b06f

File tree

1 file changed

+2
-2
lines changed
  • backend/src/plugin/util/discord/command

1 file changed

+2
-2
lines changed

backend/src/plugin/util/discord/command/ping.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export default defineCommand({
1111

1212
preRun: context => permissionsGuard(context, utilConfigStore, permissions => permissions.ping_command),
1313
async run(context) {
14-
const baseResponse = `${icons.info} Gateway: **${context.shard.latency}ms**`;
14+
const baseResponse = `${icons.info} **Gateway:** ${context.shard.latency}ms`;
1515
const preRespond = Date.now();
1616
await context.respond(baseResponse);
17-
await context.respond(baseResponse + `; REST: **${Date.now() - preRespond}ms**`);
17+
await context.respond(baseResponse + `; **REST:** ${Date.now() - preRespond}ms`);
1818
},
1919
});

0 commit comments

Comments
 (0)