create song collages
This commit is contained in:
parent
13852f59d3
commit
8b496f7b12
1 changed files with 13 additions and 1 deletions
|
|
@ -116,3 +116,15 @@ def setup(bot: bot.Bot):
|
||||||
timeframe = timeframe,
|
timeframe = timeframe,
|
||||||
username = username
|
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
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue