0.0.1 • Published 6 years ago
openbot v0.0.1
OpenBot
A simple way to setup a Discord bot.
Note: OpenBot is currently in BETA release and may be unstable. We reccomend updating to the latest version every couple days.
Installation
npm i openbot
Alternative (Yarn)
yarn add openbot
Setup
const openbot = require('openbot');
openbot.initConfig('MyPrefix', 'My UserID', 'MyBotsToken');
openbot.createCommand('CommandName', 'Command Response');
openbot.initConfig();
creates the configuration file required for the bot to run.
openbot.createCommand();
creates a command file in the commands directory, you can use this an infinite amount of times.
Starting the bot
openbot.startBot();
startBot()
runs the function that starts the bot file.
0.0.1
6 years ago