mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-24 23:11:18 +00:00
Fix reminds in DMs
This commit is contained in:
parent
ef97d64002
commit
03291469be
|
@ -33,7 +33,8 @@ class Remind:
|
||||||
@commands.command(aliases=["remindme"])
|
@commands.command(aliases=["remindme"])
|
||||||
async def remind(self, ctx, when: str, *, text: str = "something"):
|
async def remind(self, ctx, when: str, *, text: str = "something"):
|
||||||
"""Reminds you about something."""
|
"""Reminds you about something."""
|
||||||
await ctx.message.delete()
|
if ctx.guild:
|
||||||
|
await ctx.message.delete()
|
||||||
current_timestamp = time.time()
|
current_timestamp = time.time()
|
||||||
expiry_timestamp = self.bot.parse_time(when)
|
expiry_timestamp = self.bot.parse_time(when)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue