A Discord bot that does simple math.
Mathbot requires you to host your own instance, since I currently don't have the money to host it on a webserver 24/7.
- node.js (v6.11.2 or later recommended)
-
Create a new app on https://discordapp.com/developers and create a bot user for it.
-
Install
discord.js
by typingnpm install discord.js
in the command line. -
Download this GitHub repository.
-
Fill in your bot's Client ID and Bot Token in
config.json
. -
Navigate to the bot folder in the command line and run the bot with
node bot.js
. -
Once your bot is up and running, it will spit out a hyperlink in the console. You can use this link to add the bot to servers.
To launch Mathbot again after you have closed the command line, simply navigate to your Mathbot folder and enter node bot.js
.
If you need help with the commands, type math.help
in the chat of a server that Mathbot is a member of.
If that didn't quite solve your problem, join this Discord server and ask away!
If you happen to find anything you believe is an issue, you can do one of the following:
- Join the official Mathbot Help Chat at https://discord.gg/n27yKQN.
- Create an issue on Mathbot's GitHub.
If you have any more questions about Mathbot, feel free to contact me (Bassab03) on Discord. You can find me on this server.
Thanks for reading and using Mathbot! I hope you enjoy.