Small discord bot im working on
- any linux command found in
/bin - ping (ping the bot)
- grant (grant others than the server owner (must be set in code) access to the commands except grant)
Caution
SECURITY RISK:
This bot lets users (if granted) execute commands on the host computer from where the bot is ran from.
- install python and install package
discord(pip install discord(you may need to set up .venv)) - clone this repo
- make discord application
- give certain access to application
- generate a token
- in source code set superuser username (admin)
- make a file in the same directory as bot.py called
token.txt - ivite bot to your discord
- activate bot:
python bot.py