diff options
| author | 2018-07-07 19:56:38 +0200 | |
|---|---|---|
| committer | 2018-07-07 19:56:38 +0200 | |
| commit | 6d372c622f5a88ffa909ac40b75eb88f19277832 (patch) | |
| tree | f3e19dd1affd1621b561bb3d10d8903898a0a809 | |
| parent | Add a `otname.list` command. (diff) | |
Add bullet points.
| -rw-r--r-- | bot/cogs/off_topic_names.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bot/cogs/off_topic_names.py b/bot/cogs/off_topic_names.py index 603bd4993..dbaa43db9 100644 --- a/bot/cogs/off_topic_names.py +++ b/bot/cogs/off_topic_names.py @@ -119,18 +119,13 @@ class OffTopicNames: headers=self.headers ) response = await result.json() + lines = sorted(f"• {name}" for name in response) embed = Embed( title=f"Known off-topic names (`{len(response)}` total)", colour=Colour.blue() ) - await LinePaginator.paginate( - sorted(response), - ctx, - embed, - max_size=400, - empty=False - ) + await LinePaginator.paginate(lines, ctx, embed, max_size=400, empty=False) def setup(bot: Bot): |