fix(youtubedownloader): awaited a corotuine
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 49s
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 49s
This commit is contained in:
parent
fc9e6fd273
commit
8ca56695e3
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class YouTubeDownloader(commands.Cog):
|
||||||
|
|
||||||
- The `subfolder` argument only does anything if `delete` is set to False, but it allows you to save to a subfolder in the data path you've set previously without having to change said data path manually."""
|
- The `subfolder` argument only does anything if `delete` is set to False, but it allows you to save to a subfolder in the data path you've set previously without having to change said data path manually."""
|
||||||
try:
|
try:
|
||||||
self.blacklist_checker(ctx.author.id)
|
await self.blacklist_checker(ctx.author.id)
|
||||||
except self.UserBlacklisted:
|
except self.UserBlacklisted:
|
||||||
await ctx.send("You are blacklisted from running this command!")
|
await ctx.send("You are blacklisted from running this command!")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue