add ping command
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { Collection } from "@discordjs/collection";
|
||||
import { PingCommand } from "./impl/ping.ts";
|
||||
import { SongCommand } from "./impl/song.ts";
|
||||
import type { ICommand } from "./interface.ts";
|
||||
|
||||
export const commands = new Collection<string, ICommand>();
|
||||
|
||||
const songCommand = new SongCommand();
|
||||
const pingCommand = new PingCommand();
|
||||
|
||||
commands.set(songCommand.name, songCommand);
|
||||
commands.set(pingCommand.name, pingCommand);
|
||||
|
||||
Reference in New Issue
Block a user