This repo will no longer be maintained due to changes within pycord and discord.py 2.0 updates that have broken the bot
Here you will find many things you can use for your bot, have an issue? shoot us an email or open an issue
To install microwave bot just follow these simple steps!
git clone https://github.com/microwave/microwave.git
Now that we have cloned the repo we need to go into it
For windows:
cd C:\Users\your-user\path\to\folder
For linux:
cd ~/path/to/folder
Once inside you must do the following:
pip3 install -r requirements.txt
Once you have finished all of that you can move onto the next step the ENV!
first create a file simply called .env in the root directory and then put this stuff (minus the comments) in the file
TOKEN = #you will place your token here
APIKEY = #you can get the nasa api key from https://api.nasa.gov
And once you have finished setting up your .env file we can move on!
now we set up the config, to do this all we need to do is put the stuff you want inside so for example:
{
"join_message": "Microwave bot has arrived! use ``m!help`` for help \nand check out our website @ https://microwavebot.tech",
"devperms": [
"your_id_here"
],
"devs": [
"your_id_here"
],
"trueowners": [
"your_id_here"
],
"prefix": [
"m!",
"customprefix!"
],
"version": "vX.X.X",
"lastupdate": "6/28/2022 10:42 PST",
"changelog": "Updated readme.md"
}
Let me explain what the first 3 do (the rest are not hard to figure out on your own)
- "devperms" that is for the owner only commands
- "devs" that is for the info command
- "trueowners" that again is for the info command
Now for the real fun... Starting the bot for the first time!
simply do python (python3 for Linux) index.py (if you get a weird error you can ignore it, thats just flask being rude because something is using its port, why flask is used is for the main bot so it's uptime can be monitored)
Once it's running enjoy!