aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/conversationstarters.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-08-10 13:08:38 -0700
committerGravatar Xithrius <[email protected]>2020-08-10 13:08:38 -0700
commit0bcbe43557b9566f265d894b28c7f47a96765196 (patch)
tree58aef4281d366ee0cad28eae20726933613605bf /bot/exts/evergreen/conversationstarters.py
parentUpdated to comply with reviews. (diff)
Linted.
Diffstat (limited to 'bot/exts/evergreen/conversationstarters.py')
-rw-r--r--bot/exts/evergreen/conversationstarters.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py
index f4d1d3ce..54ed70c1 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -1,5 +1,4 @@
import json
-import logging
import random
from pathlib import Path
@@ -35,13 +34,13 @@ class ConvoStarters(commands.Cog):
# If the channel isn't Python-related.
except KeyError:
- await ctx.send(random.choice(starters['starters']))
+ await ctx.send(random.choice(STARTERS))
# If the channel ID doesn't have any topics.
else:
if channel_topics:
await ctx.send(random.choice(channel_topics))
-
+
else:
embed = Embed(
description=(