mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-08 14:34:03 +12:00
if a command is too long, showscheduled breaks. fixes this.
This commit is contained in:
parent
e8ac2875c3
commit
a25e461750
|
@ -95,7 +95,7 @@ class Task:
|
|||
next_run_at = now + timedelta(seconds=self.next_call_delay)
|
||||
embed = discord.Embed(color=color, timestamp=next_run_at)
|
||||
embed.title = f"Now viewing {index} of {page_count} selected tasks"
|
||||
embed.add_field(name="Command", value=f"[p]{self.content}")
|
||||
embed.add_field(name="Command", value=f"[p]{self.content[:990]}")
|
||||
embed.add_field(name="Channel", value=self.channel.mention)
|
||||
embed.add_field(name="Creator", value=self.author.mention)
|
||||
embed.add_field(name="Task ID", value=self.uid)
|
||||
|
|
Loading…
Reference in a new issue