mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Limit the max number of items to 10
This commit is contained in:
parent
f3b2a9872f
commit
184ba4319b
1 changed files with 1 additions and 1 deletions
|
@ -72,5 +72,5 @@ class QueueCommand(Command):
|
|||
for embed in pickle.loads(eval(data["queue"]["pickled_embeds"]))[:5]:
|
||||
await call.channel.send(embed=embed)
|
||||
else:
|
||||
message += numberemojiformat(data["queue"]["strings"])
|
||||
message += numberemojiformat(data["queue"]["strings"][:10])
|
||||
await call.reply(message)
|
||||
|
|
Loading…
Reference in a new issue