1
Fork 0
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:
Steffo 2019-06-02 18:28:59 +02:00
parent f3b2a9872f
commit 184ba4319b

View file

@ -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)