Just a fairly simple Discord bot. Made by idiots, for idiots!
Note that this project is intended to use as a starting point to develop your own Discord bot, not to use it as-is! this is not true anymore i think
- Some commands to make bot say sth or maybe other
- Ghostping detector (beta)
- Super balanced gacha game
- Reaction roles!
- Some osu!api things
- EPIC ping pong moment
- AutoReactWhenSomeoneSaySomething™
- Nijika?
- Waifu?
- and many things more!
- Go to Python's official website to download python.
- Install it (idk).
- Remember to install pip and add python to PATH if you're using windows!
- Git:
git clone https://github.com/SussyGuy35/open-susbot.git
- Github CLI:
gh repo clone SussyGuy35/open-susbot
i dont think therere anyone use this thing
- Windows:
python -m pip install -r requirements.txt
- Linux:
python3 -m pip install -r requirements.txt
- Mac: idk im not a mac guy (maybe same as Linux i think)
Go to Discord dev portal, get your bot's token and remember to enable Presence Intent
, Server members Intent
and Message content intent
Go to config.py
file and place your discord's bot token and your osu!api's client id and client secret (you can get it from your osu! account setting page) here.
You can also change bot's version number and prefix here.
Go to the root of the project and run main.py
file.
- Windows:
python main.py
orpy main.py
- Linux:
python3 main.py
- Mac: same as linux i think
Now your bot is up and running. Have fun!
To start developing a new command for the bot, copy the file template_command.py
from commands/template/
to commands/
.
Write your code in the command_listener
method for prefix command, and slash_command_listener
for slash command.
If your command is simple enough you should use command_response
function to return the response for both command_listener
and slash_command_listener
method to send to the user.
Localize the response if can, the template already import lib.locareader
for you. Link to the loca sheets below.
If your command is interacting with external files, import lib.cmddata
and using funtions it's provided.
After finish writing code for your command, go to main.py
file and i'm pretty sure you'll figure out what to do.
If your feature is not simple and important enough to be added to the core of the bot, you should make it a file on the features/
folder then import it on main file and use it here.
You can make a new library for the bot and place it in lib/
folder. Main file and commands can import and use it.
- Finish english translation
- Fix dumb mistakes
- Fix ghostping detector conflict with NQN bot
- Add more osu!api things (we have 2 (maybe) now)
- Add more EPIC FEATURES! (for real!)
- discord (discord.py)
- osu!api (ossapi)
- requests
- thecatapi.com
- nekos.life
- waifu.pics
- vietqr