Welcome to Pantha, a moderation, fun, utility and completely open source discord bot for your server!
Emojis for the bot can be found at this link .
Pantha's code is (fairly) outdated and was before the Slash commands update. This bot requires the message intent. It still stays as a reference to anyone who wants it though.
Why Pantha? We have these features: (and over 100 commands in total)
๐ Info: p.ping
, p.snipe
, p.wi
and 7 more informational commands.
๐ Fun: p.randomfact
, p.beer
, p.rps
, p.truthordare
and 10 more fun commands.
โ๏ธ Error Handling: full fleged error handling for the bot, a big bot, big error handling.
๐ก๏ธ Anti-Spam Protection: The bot doesn't join servers with below 50 members as many tasks are running for each server that the bot is in, thus to reduce the pressure on our hosting we don't like joining random servers.
๐ Owner: p.load
, p.unload
, p.cleartickets
, p.toggle
: Disabling/enabling commands and 5+ more owner restricted commands.
๐ Patch Notes: Using the bot to post it's own updates?
๐จ Moderation p.slowmode
, p.lock
, p.unlock
, p.kick
, p.ban
and 5 more foolproof moderation commands.
๐ธ Dank Memer Assistant: A perfect assistant for Dank Memer: banning people who leave your server after a giveaway/heist event, showing the rules of the bot.
๐ Giveaways: Giveaways for your discord server (with buttons).
โญ Utilities: p.poll
, p.choose
, p.embed
, p.coinflip
and 5 more utility commands.
๐ซ Suggestions: Users can suggest what they want to you.
You will require Python to do the following:
$ git clone https://github.com/nigamanthsrivatsan/Pantha.git
# or if you have the github cli
$ gh repo clone nigamanthsrivatsan/Pantha
$ cd Pantha
# now we install the modules
$ pip install -r requirements.txt
Now we edit the "config.json" file in the main directory. ๐ค
{
"token" : "yourTokenHere",
"toptoken" : "",
"owner" : "123456789",
"botId" : "123456789",
"syncban" : [12345678, 12345678]
}
The bot token should be there, the topToken is not required, only enter it if you want the bot to be on top.gg. There can only be one owner of the bot and their id must be in a string, the bot's ID must also be put in.
The field "syncban" is the servers that the bot should ban when the owner initiates a "syncban". The feature bans a user in all the servers that you put as long as:
- The bot is in the server.
- The bot has adequate permissions to do so.
This is useful for banning someone across guilds (TOS breakers, scammers, etc). And now that we have everything customized, we're ready to go! ๐
# and start the bot
$ python main.py
Feel free to open any Issues or Pull Requests that come along your way. I'm still learning discord.py and Python and would require help to make this project truly awesome!