Skip to content

Commit

Permalink
make ping command use ms package
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryAllen1 committed Dec 25, 2021
1 parent 175a23c commit b2e555f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/util/PingCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class PingCommand extends BaseCommand {
'ping',
'util',
[],
5000,
ms('5s'),
'Pings the bot and returns response times.'
);
}
Expand Down Expand Up @@ -46,7 +46,7 @@ export default class PingCommand extends BaseCommand {
},
{
name: 'Uptime (how long since the last bot restart; affects `snipe` commands)',
value: `${msToTime(client.uptime ?? 0)}`,
value: `${ms(client.uptime ?? 0)}`,
},
],
},
Expand Down

0 comments on commit b2e555f

Please sign in to comment.