Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
/ Pantha Public archive

πŸŽ‰ A discord bot made for your server - feel free to self-host

License

Notifications You must be signed in to change notification settings

nigamanthsrivatsan/Pantha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pantha

License for the project GitHub stars GitHub forks

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 .

Archived

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 do I self-host this bot?

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.

Self-Hosting πŸš€

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] 
}

Fields

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

πŸ‘ Supporters

Stargazers repo roster for @nigamanthsrivatsan/Pantha Forkers repo roster for @nigamanthsrivatsan/Pantha

Contributing

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!