mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
Fix
This commit is contained in:
+8
-9
@@ -73,15 +73,14 @@ 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.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)
|
elif "INFO" in ctx.message.content:
|
||||||
elif "INFO" in ctx.message.content:
|
logger = logging.getLogger("discord")
|
||||||
logger = logging.getLogger("discord")
|
logger.setLevel(logging.INFO)
|
||||||
logger.setLevel(logging.INFO)
|
else:
|
||||||
else:
|
await ctx.send("Weź się kurwa zdecyduj co ?")
|
||||||
await ctx.send("Weź się kurwa zdecyduj co ?")
|
|
||||||
|
|
||||||
@commands.hybrid_command(
|
@commands.hybrid_command(
|
||||||
name="reset_the_clock",
|
name="reset_the_clock",
|
||||||
|
|||||||
Reference in New Issue
Block a user