Compare commits
No commits in common. "6c95ecbb6950f01312133967526cf0ddfa3e1958" and "66c9bdada02dc91033ddfb282c582c3d0ca55a42" have entirely different histories.
6c95ecbb69
...
66c9bdada0
3 changed files with 1 additions and 10 deletions
|
|
@ -16,5 +16,4 @@ dead simple last.fm bot
|
||||||
- ~~**temporary fix**: construct the attachment object from scratch and upload manually(?)~~ __its still broken__
|
- ~~**temporary fix**: construct the attachment object from scratch and upload manually(?)~~ __its still broken__
|
||||||
- ~~**temporary fix:** use 0x0.st~~ ✅
|
- ~~**temporary fix:** use 0x0.st~~ ✅
|
||||||
- **permanent fix**: fork and update nerimity library
|
- **permanent fix**: fork and update nerimity library
|
||||||
- ~~add list generation~~ ✅
|
- add list generation
|
||||||
- add help command
|
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,6 @@ def setup(bot: bot.Bot):
|
||||||
await ctx.send(u.error_msg("Contents are empty."))
|
await ctx.send(u.error_msg("Contents are empty."))
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(" ".join(text)) > 500:
|
|
||||||
await ctx.send(u.error_msg(f"Post is too long!! ({len(" ".join(text))})"))
|
|
||||||
return
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await ctx.send(f"Creating post:\n```markdown\n{" ".join(text)}\n```")
|
await ctx.send(f"Creating post:\n```markdown\n{" ".join(text)}\n```")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,6 @@ 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