This is a Bot written in Python3.6 that downloads user-submitted images on Discord for Map-A-Droid.
If you prefer JavaScript or Telegram, Click here
- Map-A-Droid
- Python3.6
-
Clone the repository
git clone https://github.com/OfficialWiddin/MADBot_Python.git
-
Install the requirements
python -m pip install -r requirements.txt
-
Copy
config.ini.example
and rename it toconfig.ini
-
Token:
- Discord Developer Applications and click
Create an application
- Click on the
Bot
tab on the left side and thenAdd Bot
. - Click on
Copy
under theTOKEN
, paste intoconfig.ini
- Discord Developer Applications and click
-
Channel_id:
- Open
User settings
on Discord. - Go
Appearance
and enableDeveloper Mode
- Right click on the chosen channel and choose
Copy ID
, paste intoconfig.ini
- Open
-
Screenshot_path:
- Locate the screenshot folder within Map-A-Droid with the terminal, run
pwd
, paste intoconfig.ini
- Locate the screenshot folder within Map-A-Droid with the terminal, run
-
-
Replace
YOUR_CLIENT_ID_HERE
inhttps://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0
with yourCLIENT ID
which can be found onGeneral Information
tab on the application site. Then paste the link in your browser and select your server. -
Run the bot with
python start_bot.py