Skip to content

pingu6/mudae-regex

Repository files navigation

Mudae Regex


List splitter for mudae and more.

Invite

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

Todolist

  • 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

Privacy policy

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.

Self Hosting

Requirements

  • python 3.11+ (note: check "Add python 3.11 to PATH")
  • git (note: check "Run Git from the Windows Command Promptt")
  • postgresql

Steps

  1. Creating a bot account https://discordpy.readthedocs.io/en/stable/discord.html#creating-a-bot-account

  2. Enable all of the three"Privileged Gateway Intents" https://discordpy.readthedocs.io/en/stable/intents.html#privileged-intents

  3. Open powershell anywhere and clone the repo

    git clone https://github.com/pingu6/mudae-regex.git
  4. Go to the repo directory mudae-regex and install the requirements

    cd mudae-regex & pip install -U -r requirements.txt
  5. Rename config_example.toml to config.toml and fill it

    ren config_example.toml config.toml & notepad config.toml
  6. Run main.py file

    py main.py
  7. Run [bot prefix]jsk sync to sync all the slash and context menu commands