Fix errors not closing modal
This commit is contained in:
parent
1225034f72
commit
3b12ffa7f0
1 changed files with 3 additions and 3 deletions
|
@ -84,16 +84,16 @@ class RemindmeCog(Scale):
|
|||
except asyncio.TimeoutError:
|
||||
return
|
||||
if len(message) > 500:
|
||||
await ctx.send("Reminder cannot be > 500 characters.", ephemeral=True)
|
||||
await response.send("Reminder cannot be > 500 characters.", ephemeral=True)
|
||||
return
|
||||
elif invites.search(message):
|
||||
await ctx.send(
|
||||
await response.send(
|
||||
"Listen, don't use this to try and bypass the rules",
|
||||
ephemeral=True,
|
||||
)
|
||||
return
|
||||
elif not valid.fullmatch(message):
|
||||
await ctx.send("Hey, you should probably make this readable", ephemeral=True)
|
||||
await response.send("Hey, you should probably make this readable", ephemeral=True)
|
||||
return
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Reference in a new issue