sudo apt install python3 python3-pip -y
pip install discord python-dotenv
Follow the instructions for creating a bot: https://discordpy.readthedocs.io/en/stable/discord.html
When in the Bots tab of Applications, make sure to turn on the slider for all privileged Gateway Intents to test the bot.
# set PATH so it includes user's local bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
SECRET-BOT-TOKEN can be found in the Discord applications page. Select bot name under Applications. Bot from under Settings. Token is under Username.
DISCORD_TOKEN="<SECRET-BOT-TOKEN>"
python3 _sigmabot.py
For a list of available commands send .help
as a message in Discord or Telegram.
_sigmabot.py
: exec and most likely won't need to change unless adding a new category/cogs
: houses all the content and majority of the code for each category/cogs/ztemplate.py
: if there is a need for a new category then copy this file and follow instrutions on how to edit
Developers can change config settings in the _sigmabot.py
file.
command_prefix
: instead of the default .
can modify to /
, $
, #
, !
or whatever you prefer.
discord.Game()
: default is on the Rosen Bridge
.
The spaghetti code for this bot is held together by hope and a lot of bubble gum. It would be ideal for someone with actual software development skills can improve upon this and make it better. Thus, any improvements to this package is highly appreciated.
- Fork the repository
- Create your feature branch (
git checkout -b feature/new-stuff
) - Commit your changes (
git commit -am "Add new stuff improvements"
) - Push to branch (
git push origin feature/new-stuff
) - Open a pull request