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!