mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
of course fix needed
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ class OtherModule(commands.Cog):
|
|||||||
)
|
)
|
||||||
@commands.has_any_role('Legenda', 'Jarl', 'Bartender')
|
@commands.has_any_role('Legenda', 'Jarl', 'Bartender')
|
||||||
async def set_logging_level(self,ctx):
|
async def set_logging_level(self,ctx):
|
||||||
with ctx.typing():
|
with ctx.channel.typing():
|
||||||
if "DEBUG" in ctx.message.content:
|
if "DEBUG" in ctx.message.content:
|
||||||
logger = logging.getLogger("discord")
|
logger = logging.getLogger("discord")
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
|||||||
Reference in New Issue
Block a user