List splitter for mudae and more.
There are two public instance of mudae regex because of discord 100 server limit for non verified bots
- Reze (currently in 98 server)
- Bocchi (currently in 67 server)
Note I can't host them 24/7 so they aren't always online but anyone can host their own mudae regex bot and anyone is welcome it host a public instance that run 24/7
- Migrate from postgresql to sqlite for easier self hosting
- Using raw sql instaed of prisam orm
- Adding new command that calculate kakera react vales base on number of keys, player premium, bost kakera
- Adding regex command for
$rl
- Breack down each command into separate file for better readability and modularity
The bot exclusively stores the server ID and server-specific bot prefix, automatically removing this data from the database when the bot is removed from a server, but only if the bot was online.
- python 3.11+ (note: check "Add python 3.11 to PATH")
- git (note: check "Run Git from the Windows Command Promptt")
- postgresql
-
Creating a bot account https://discordpy.readthedocs.io/en/stable/discord.html#creating-a-bot-account
-
Enable all of the three"Privileged Gateway Intents" https://discordpy.readthedocs.io/en/stable/intents.html#privileged-intents
-
Open powershell anywhere and clone the repo
git clone https://github.com/pingu6/mudae-regex.git
-
Go to the repo directory
mudae-regex
and install the requirementscd mudae-regex & pip install -U -r requirements.txt
-
Rename
config_example.toml
toconfig.toml
and fill itren config_example.toml config.toml & notepad config.toml
-
Run
main.py
filepy main.py
-
Run
[bot prefix]jsk sync
to sync all the slash and context menu commands