add daily list error
This commit is contained in:
parent
b04719c513
commit
f30502d544
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ def setup(bot: bot.Bot):
|
||||||
timeframe = "7day"
|
timeframe = "7day"
|
||||||
period = "in the past week"
|
period = "in the past week"
|
||||||
|
|
||||||
|
if timeframe == "1day":
|
||||||
|
await ctx.send(u.error_msg("Daily lists are not yet supported. Sorry!!"))
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
temp_msg = await ctx.send(f"Generating top {entity}s list for **{username}**...")
|
temp_msg = await ctx.send(f"Generating top {entity}s list for **{username}**...")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue