mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-11-03 16:50:49 +01:00
feat(arabot): add ping command
This commit is contained in:
parent
c011ad78fd
commit
a2dcdddfc6
@ -25,11 +25,11 @@ export class PingCommand extends Command {
|
||||
super(context, {
|
||||
...options,
|
||||
name: 'ping',
|
||||
description: 'ping pong',
|
||||
description: 'Pings the bot',
|
||||
});
|
||||
}
|
||||
|
||||
// Registers the slash command
|
||||
// Registers that this is a slash command
|
||||
public override registerApplicationCommands(registry: Command.Registry) {
|
||||
registry.registerChatInputCommand((builder) => builder
|
||||
.setName(this.name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user