feat(bot): make syntrel work in dms and group chats

This commit is contained in:
neoarz
2025-10-15 15:58:57 -04:00
parent 6a43c93637
commit cb1596a1d8
12 changed files with 41 additions and 5 deletions

View File

@@ -7,6 +7,9 @@ from .translate import translate_command, language_autocomplete
from .codepreview import codepreview_command
from .dictionary import dictionary_command
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
@app_commands.allowed_installs(guilds=True, users=True)
class Utilities(commands.GroupCog, name="utils"):
def __init__(self, bot) -> None:
self.bot = bot