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,9 +32,9 @@ class Logger(commands.Cog):
|
||||||
if payload.cached_message.author.bot:
|
if payload.cached_message.author.bot:
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(payload.cached_message.content) > 3898:
|
# if len(payload.cached_message.content) > 3898:
|
||||||
content = payload.cached_message.content[:3900] + "..."
|
# content = payload.cached_message.content[:3900] + "..."
|
||||||
else:
|
# else:
|
||||||
content = payload.cached_message.content
|
content = payload.cached_message.content
|
||||||
|
|
||||||
author = payload.cached_message.author
|
author = payload.cached_message.author
|
||||||
|
|
Loading…
Reference in a new issue