Skip to content

TheImperialGod is a perfect bot with Moderation, Automoderation, Economy, Giveaway, and Utility features. It is made with discord.py which is an API wrapper for discord. Repository is for self-hosting and public bot

License

Notifications You must be signed in to change notification settings

ThatFoxRetro/TheImperialGod

Repository files navigation

TheImperialGod

Features

TheImperialGod is a perfect bot with plenty of utilities and good for server owners!
With a nice themed base and some useful features, comes at you TheImperialGod

Introduction

Before touching the code and stuff please read till the end of the MD file. There is a ton of important information in this README file. Also once you read this, read the code of conduct.

You can choose whether or not you want to read CONTRIBUTING.md, as do it only if you want to contribute, as some of the code is hard for inexperienced programmers. And leave it if your new here, as first check out the bot!

Once you have and if you like the public bot or the code then consider starring this repository. This not only helps out the contributors but the people who actually coded this bot. Thanks and Regards, NightZan999

Moderation

Has advanced moderation features for all people! With using the concept of embeds and more!
Cool right, it also has automoderation features and that's customizable, which makes it perfect for you!

The bot is even smart enough NOT to filter automod in NSFW channels even if its enabled!

Economy

Okay economy systems are hard, they take about 1000 lines just to write a shop and have a wallet and arcade system. See this is hard!

But don't worry I have used a database system called .json (JavaScript Object Notation)

Utilities

Yes, TheImperialGod has like plenty of utility features including a changing status that changes his status every 10 seconds, which to me is really cool.

Now, it has coinflip and plenty of stuff, so yeah have fun with your friends. So till now good going and before you touch the code.

Giveaways

So we have some Giveaway features which simply reroll and start a giveaway, kinda basic but that's all we have for the bot. The rest of the commands are just customizable

We have error handling for all commands!

Contribution

Contribute by first reading Contributing.md and then later on, fork and send hack to nightzan999@gmail.com.

If your stuff gets approved it gets into the source and to the public bot. Don't worry we WILL give you credits.

Issues

Issues with the public bot will probably be outages and we cannot help those, rather than making them, please refrain from doing that.

You have the code in front of you, please download it and host it.

Self Hosting? Public Bot?

Self Hosting

Yes this is the most important place here.
Note: Self hosting is suggested as the public bot goes offline sometimes and that may disrupt your giveaways.

Just in bot.py check the bot token and replace it with yours. As TheImperialGod doesn't have changing prefixes, so change the prefix as well if you would like!

But GIVE THE CREDITS, if you don't you can be doing illegal activity due to the MIT LICENSE. If you keep the credits and don't brag that you made the bot. Its fine that you can use the bot!

Steps for Self Hosting

  1. Download Python from here (lastest version please)
  2. Then download the bot files either by downloading as a zip in github or doing git clone https://github.com/NightZan999/TheImperialGod, make sure you have git installed and the github CLI (Client Line Interface)
  3. Then unzip the zipped folder
  4. Then go to cmd of that directory and type pip install -r requirements.txt 5. Okay now create a file in the same directory as bot.py and name it config.json In that config.json file simply type in this code:
{
    "token" : "yourToken",
    "clientId" : 768695035092271124,
    "clientSecret" : "secret",
    "publicKey" : "key",
    "prefix" : "imp ",
    "reddit" : {
        "clientId" : "clientId",
        "clientSecret" : "",
        "username" : "yourUsername",
        "password" : "yourPassword",
        "userAgent" : "canBeAnything"
    },
    "IDs" : {
        "ownerId" : 291829898,
        "serverLogId" : 28738273827
    }
}

Replace all of that with your correct data, and it should be working For the reddit section create an app here make your own script and you should have all the data. Yeah and then its simple throw your data into config.json and done it should work.

  1. Then immediately go to cmd and type python bot.py
  2. The bot is running and use the invite link to invite it to your server, replace the client id with your bots client id.
  3. Enjoy the bot!
    Note: TheImperialGod uses an old version of discord.py as listed in requirements.txt, which means if you just pip install all the modules listed it WONT work!

Thanks for your patience. Regards, NightZan999

Public Bot

I guess, well you read that and your a new programmer.
Note: This code may be hard for inexperienced programmers, so if you don't understand stuff, just add the public bot!!!

You can find the invite link in the main bot file, just copy paste that into your browser, so yes continue and your bot is here!

Or of course if you don't know how to read variables simply click this

He will be up most of the time, but when he is down please cope with it! But anyways, if you are interested in the public bot. Then you are in the currency system, and if you want coins join my server where there are giveaways happening.

Join here

Suggestions and More:

If you tested the bot and loved it, but thought you would want to give in some suggestions, please first don't make an issue.

Firstly you should simply, check BETA_FEATURES.md for some new things the bot might get, if your suggestion is an improvement first search for a similar suggestion in the issues, if there are none then make a new one.

Otherwise you also can suggest stuff in my discord server, so you could join it and make things easy!

Credits:

1. NightZan999: The main developer of TheImperialGod, not only coded all the cogs and the code himself, but also hosted the bot and did more.
2. Dragonizedpizza: The second most important developer, not only helped TheImperialGod's earlier version in advanced moderation but even got the bot hosted and told me how it got hosted. Big thanks to him
3. Superzackx: From helping NightZan999 with the website and making the full backend for the website and basically helping the full crew but also giving suggestion on the bot. Which are now implemented.
4. Makiyu-py: he helped in 2 commands...

Consider following most of these creators of the bot if you enjoy the public bot or the code which it relies on. Huge thanks if you do follow them

About

TheImperialGod is a perfect bot with Moderation, Automoderation, Economy, Giveaway, and Utility features. It is made with discord.py which is an API wrapper for discord. Repository is for self-hosting and public bot

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages