mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Remind now shows active categories
This commit is contained in:
parent
a82af035fc
commit
0db835bba0
2 changed files with 10 additions and 2 deletions
|
|
@ -20,9 +20,12 @@ class Remind(commands.Cog):
|
|||
Command group to remind the user of a certain thing every day.
|
||||
:param ctx: Discord Context
|
||||
"""
|
||||
categories = ["Les", "Nightly"]
|
||||
embed = discord.Embed(colour=discord.Colour.blue())
|
||||
rows = remind.getOrAddUser(ctx.author.id)
|
||||
|
||||
# TODO use a loop for this when not lazy
|
||||
categories = [remind.getIcon(rows[1]) + " Nightly", remind.getIcon(rows[2]) + " Les"]
|
||||
|
||||
embed = discord.Embed(colour=discord.Colour.blue())
|
||||
embed.set_author(name="Remind Categorieën")
|
||||
embed.description = "\n".join(sorted(categories))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue