mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
refactor: owner checks and embed handling in owner cogs
Removed OWNER_ID from .env and bot.py, switching to @commands.is_owner() for owner checks. Unified embed sending logic in owner cogs, improved error messages, and updated invite command to use ephemeral responses and enhanced embed formatting.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
TOKEN=YOUR_BOT_TOKEN_HERE
|
||||
PREFIX=YOUR_BOT_PREFIX_HERE
|
||||
INVITE_LINK=YOUR_BOT_INVITE_LINK_HERE
|
||||
OWNER_ID=YOUR_BOT_OWNER_ID_HERE
|
||||
|
||||
# Commands you want to disable (comma separated)
|
||||
DISABLED_COGS=general.context_menus # Context Menus
|
||||
|
||||
Reference in New Issue
Block a user