fix(tasklist): Fix ui exception typo.
This commit is contained in:
@@ -728,7 +728,7 @@ class TasklistUI(BasePager):
|
|||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
await press.user.send(contents, file=file, silent=True)
|
await press.user.send(contents, file=file, silent=True)
|
||||||
except discord.HTTPClient:
|
except discord.HTTPException:
|
||||||
fp.seek(0)
|
fp.seek(0)
|
||||||
file = discord.File(fp, filename='tasklist.md')
|
file = discord.File(fp, filename='tasklist.md')
|
||||||
await press.followup.send(
|
await press.followup.send(
|
||||||
@@ -736,7 +736,7 @@ class TasklistUI(BasePager):
|
|||||||
'ui:tasklist|button:save|error:dms',
|
'ui:tasklist|button:save|error:dms',
|
||||||
"Could not DM you! Do you have me blocked? Tasklist attached below."
|
"Could not DM you! Do you have me blocked? Tasklist attached below."
|
||||||
)),
|
)),
|
||||||
file=file
|
file=file,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
fp.seek(0)
|
fp.seek(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user