rewtbeer v2.0.0
DO NOT INSTALL REWTBEER NOW! IT IS STILL IN DEVELOPMENT AND WILL NOT WORK IF YOU TRY IT!!!
What is Rewtbeer?
Rewtbeer is a fork of the npm package "Slappey" but with a simpler command handler, event handler, and a help command!
Instructions
Install rewtbeer by running npm install -g rewtbeer
on your terminal or Windows CMD. This will install rewtbeer globally.
To create a project, type
rewtbeer
, or simply typerewtbeer new <name of project>
Follow the steps and enter your Bot Token and Prefix.
Once done,
cd
into your project by typingcd <name of project>
To run the bot, type
npm run dev
. This will run the bot usingnodemon
, you MUST havenodemon
installed, otherwise, usenpm run start
Generating Commands
rewtbeer allows you to generate commands into categories. You can type
rewtbeer
and select Generate to generate a command, orrewtbeer new command
.It will ask you for a name, and then a category. This will generate all commands in the
src/commands
folder, in the correct category.
Generating Events
You can generate events by running
rewtbeer new event
, this will prompt you to select which events you would like to generate.To select event(s), press space bar and use the up and down arrow keys to navigate. Hit enter when you're done and your event files will be generated in the
src/events
folder.