aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-08-16 15:43:59 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-11 12:05:45 +0530
commitb01cccec51d5c9df298a0380ad2ab516ee219c3d (patch)
treeeb8796b02add7f3c212bd0a913b2e92276a43006
parentCorrect log trace link to show the correct behaviour (diff)
Remove unnecessary check for embed when sending
-rw-r--r--bot/exts/moderation/incidents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py
index 2de7dd666..dfc2e0bb0 100644
--- a/bot/exts/moderation/incidents.py
+++ b/bot/exts/moderation/incidents.py
@@ -614,7 +614,7 @@ class Incidents(Cog):
"""
try:
webhook_msg = await webhook.send(
- embeds=[embed for embed in webhook_embed_list if embed is not None],
+ embeds=[embed for embed in webhook_embed_list],
username=sub_clyde(message.author.name),
avatar_url=message.author.avatar_url,
wait=True,