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:
|
except asyncio.TimeoutError:
|
||||||
return
|
return
|
||||||
if len(message) > 500:
|
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
|
return
|
||||||
elif invites.search(message):
|
elif invites.search(message):
|
||||||
await ctx.send(
|
await response.send(
|
||||||
"Listen, don't use this to try and bypass the rules",
|
"Listen, don't use this to try and bypass the rules",
|
||||||
ephemeral=True,
|
ephemeral=True,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
elif not valid.fullmatch(message):
|
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
|
return
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue