From 184ba4319b3934d820aca3a8f59b837b612c7391 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 2 Jun 2019 18:28:59 +0200 Subject: [PATCH] Limit the max number of items to 10 --- royalnet/commands/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/commands/queue.py b/royalnet/commands/queue.py index 6ea7f982..b6acf99d 100644 --- a/royalnet/commands/queue.py +++ b/royalnet/commands/queue.py @@ -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)