parent
cfb45e4724
commit
173c9b8db7
@ -344,7 +344,10 @@ async def log(message):
|
|||||||
)
|
)
|
||||||
if not strtobool(config['log']):
|
if not strtobool(config['log']):
|
||||||
return
|
return
|
||||||
|
try:
|
||||||
await bot.send_message(
|
await bot.send_message(
|
||||||
int(config['log_chatid']),
|
int(config['log_chatid']),
|
||||||
message
|
message
|
||||||
)
|
)
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user