diff --git a/commands/collage.py b/commands/collage.py index 4ec7cb4..4f1e3e1 100644 --- a/commands/collage.py +++ b/commands/collage.py @@ -115,4 +115,16 @@ def setup(bot: bot.Bot): size = size, timeframe = timeframe, username = username - ) + ) + + @bot.command(name="trackchart", aliases=["tc", "ct", "charttrack", "chartracks", "songchart", "chartsong", "trackcollage", "songcollage"]) + @bot.slash_command(name="charttrack", description="Generate a track/song collage.") + async def charttrack(ctx: nerimity.Context, size: str = "3x3", timeframe: str = "7day", username: str = None): + await create_chart( + bot = bot, + ctx = ctx, + entity = "track", + size = size, + timeframe = timeframe, + username = username + )