Code Monkey home page Code Monkey logo

pantha's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.