fix(logger): testing if there's a discord api error
This commit is contained in:
parent
6d0d45736d
commit
742d786bab
1 changed files with 4 additions and 4 deletions
|
@ -32,10 +32,10 @@ class Logger(commands.Cog):
|
|||
if payload.cached_message.author.bot:
|
||||
return
|
||||
|
||||
if len(payload.cached_message.content) > 3898:
|
||||
content = payload.cached_message.content[:3900] + "..."
|
||||
else:
|
||||
content = payload.cached_message.content
|
||||
# if len(payload.cached_message.content) > 3898:
|
||||
# content = payload.cached_message.content[:3900] + "..."
|
||||
# else:
|
||||
content = payload.cached_message.content
|
||||
|
||||
author = payload.cached_message.author
|
||||
|
||||
|
|
Loading…
Reference in a new issue