Run yarn
to install all dependencies
[Based on windows system]
If an error with Python occurs open the system console with admin privileges and type:
yarn --add-python-to-path='true' --debug install --global windows-build-tools
If that was the case run again yarn
to install dependencies properly.
Create .env.dev
file based on .env.dev-sample
(just copy and rename it). Fill the API keys with 0
if you don't have them.
Create a new discord server where you will be testing your bot.
Follow this tutorial to create a new bot. Then add it to your server.
Use the bot token in .env.dev
file.
Use yarn dev
to start the server.
You should get this in your console, which suggests that everything went ok.
Server running!
Logged in as [Bot Name]!
You will probably get some errors like "Failed to connect to database" as well. Don't worry about them if you don't need the database.
When you log into the discord server you should see that your Bot is active.
You can use one of the existing commands like !co
to try it out :)
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!