mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Update README.md
This commit is contained in:
@@ -37,16 +37,14 @@ Here is a minimal example to get started with:
|
||||
import { startBot } from "https://deno.land/x/discordeno/mod.ts";
|
||||
|
||||
startBot({
|
||||
token: "BOT TOKEN",
|
||||
token: "BOT_TOKEN",
|
||||
intents: ["Guilds", "GuildMessages"],
|
||||
eventHandlers: {
|
||||
ready() {
|
||||
console.log("Successfully connected to gateway");
|
||||
},
|
||||
messageCreate(message) {
|
||||
if (message.content === "ping") {
|
||||
message.reply("Pong using Discordeno!");
|
||||
}
|
||||
// Process the message with your command handler here
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user