From 45f9492e8a8a34a0f665c021414fc806aac2e575 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 18:13:06 +0100 Subject: [PATCH] core/CoreCommandUse.py --- core/CoreCommandUse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CoreCommandUse.py b/core/CoreCommandUse.py index 901e6ad..c9d6adc 100644 --- a/core/CoreCommandUse.py +++ b/core/CoreCommandUse.py @@ -55,7 +55,7 @@ class CoreCommandUse(AbstractCommand): request.respond_cmd_chan("Debug info dumped to stdout.") elif topic == "": - msg = "``\n+ ``/use ".join([t for t in sorted(self.bot.USETOPICS.keys())]) + msg = "``\n+ ``/use ".join(list(sorted(self.bot.USETOPICS.keys()))) request.respond_cmd_chan("#### ``Did you know...``\nYou can use ``/use `` to display a helpful message about a feature of this instance. Known topics are:\n+ ``/use "+msg+"``") elif topic not in self.bot.USETOPICS: -- 2.43.0