import { DiscordClient, Command, CommandExecutor } from "https://raw.githubusercontent.com/unlimitedcoder2/ddbf/master/mod.ts";
@Command("test", {description: "Test command"})
class TestCommand implements CommandExecutor {
async execute(bot: DiscordClient, message: Message, parsed: SuccessfulParsedMessage) {
bot.client.createMessage(message.channel.id, "Tested!");
}
}
const bot = new DiscordClient("100000% a real token", {
commands : [TestCommand]
});
bot.start();
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Deno Discord Bot Framework
License
unlimitedcoder2/ddbf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Deno Discord Bot Framework
Topics
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published