From 1df7433ad92f561e6858b4f126d7705a7291ee03 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Sat, 8 May 2021 13:04:32 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5d456f74f..fa3c50bbc 100644 --- a/README.md +++ b/README.md @@ -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 }, }, });