aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Andi Qu <[email protected]>2021-01-30 22:56:25 +0200
committerGravatar Andi Qu <[email protected]>2021-01-30 22:56:25 +0200
commit7b27971c7d2cda0ebea091af76314f11bd6d0ba7 (patch)
tree4364502c66da15565de9109cec3d3848ebb4f476
parentUse the GitLab API for GitLab snippets (diff)
Fixed syntax error with wait_for_deletion
-rw-r--r--bot/exts/info/code_snippets.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/info/code_snippets.py b/bot/exts/info/code_snippets.py
index e149b5637..f0cd54c0c 100644
--- a/bot/exts/info/code_snippets.py
+++ b/bot/exts/info/code_snippets.py
@@ -234,8 +234,7 @@ class CodeSnippets(Cog):
await message.edit(suppress=True)
await wait_for_deletion(
await message.channel.send(message_to_send),
- (message.author.id,),
- client=self.bot
+ (message.author.id,)
)