feat: enhance gitignore and bot prefix handling

- Updated .gitignore to properly exclude Python cache files and environment variables
- Modified bot.py to improve prefix case handling for better command recognition
- Refactored mail.py to streamline feedback email generation and database interaction
- Added environment variable loading in mail.py for better configuration management
This commit is contained in:
2026-06-01 14:14:52 +00:00
parent 3e6410d112
commit 4b07ca86b9
10 changed files with 166 additions and 147 deletions
+21 -19
View File
@@ -1,43 +1,45 @@
{
"messages": {
"601579326714019840": {
"total": 106,
"commands": 94,
"non_commands": 12
"total": 137,
"commands": 118,
"non_commands": 19
}
},
"commands": {
"purge": 5,
"purge": 6,
"mail_feedback": 2,
"help": 11,
"help": 16,
"nuke": 4,
"ping": 2,
"top": 2,
"stats": 2,
"top": 3,
"stats": 3,
"poker": 7,
"balance": 5,
"daily": 4,
"balance": 8,
"daily": 8,
"withdraw": 2,
"leaderboard": 2,
"afk": 2,
"leaderboard": 3,
"afk": 3,
"afklist": 1,
"whois": 1,
"reset_money": 2,
"listcommands": 1,
"listcommands": 3,
"talk": 27,
"npcs": 2,
"remove_money": 1,
"guildids": 1,
"give_money": 1,
"guildids": 2,
"give_money": 2,
"coinflip": 2,
"deposit": 1,
"gameroom": 3,
"reload": 1
"reload": 1,
"slots": 2,
"addcommand": 1
},
"channels": {
"bot": 86,
"bot": 91,
"membercount": 3,
"members-3": 2,
"members-3": 28,
"faq": 1,
"polls": 8,
"bot-commands": 2,
@@ -45,8 +47,8 @@
"general": 3
},
"guilds": {
"Plex": 89,
"TEST SERVER BOT": 17
"Plex": 94,
"TEST SERVER BOT": 43
},
"total_messages": 0,
"command_messages": 0,