Skip to content

Latest commit

History

History

denobot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

denobot

Deno client module for Botway.


Usage

after creating a new deno botway project, you need to use your tokens to connect with your bot.

...
import { createBot, enableCachePlugin, getToken, getAppId } from "./deps.ts";
import { events } from "./src/events/mod.ts";

...

export const bot = enableCachePlugin(
	createBot({
		token: getToken(),
		botId: getAppId(),
		intents: [],
		events,
	}),
);
...