diff options
author | 2020-08-10 13:51:51 -0700 | |
---|---|---|
committer | 2020-08-10 13:51:51 -0700 | |
commit | 77cafe8a048bfaca2b1defcedb55761acfd6f5fc (patch) | |
tree | bf98b52470a168af74e3c82ced03347e52008571 /bot | |
parent | Finalized whitelist for allowed channels .topic can be used in. (diff) |
Linted.
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/evergreen/conversationstarters.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py index 4df3f068..974a361e 100644 --- a/bot/exts/evergreen/conversationstarters.py +++ b/bot/exts/evergreen/conversationstarters.py @@ -5,8 +5,8 @@ from pathlib import Path from discord import Embed from discord.ext import commands -from bot.utils.decorators import override_in_channel from bot.constants import WHITELISTED_CHANNELS +from bot.utils.decorators import override_in_channel with Path("bot/resources/evergreen/starter.json").open("r", encoding="utf8") as f: @@ -30,8 +30,9 @@ class ConvoStarters(commands.Cog): @commands.command() @override_in_channel(ALL_ALLOWED_CHANNELS) async def topic(self, ctx: commands.Context) -> None: - """Responds with a random topic to start a conversation - + """ + Responds with a random topic to start a conversation. + If in a Python channel, a python-related topic will be given. Otherwise, a random conversation topic will be recieved by the user. |