aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/conversationstarters.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-03-02 09:13:51 +0200
committerGravatar GitHub <[email protected]>2021-03-02 09:13:51 +0200
commitc4dc39a32a362b805e8cb60ea71f988711016a19 (patch)
tree7a49b9bec8c7d0029edb69beb12609af1f46f1c0 /bot/exts/evergreen/conversationstarters.py
parentFixed linting errors. (diff)
parentMerge pull request #600 from Shivansh-007/feature/improve-wiki (diff)
Merge branch 'master' into startup-channel-check
Diffstat (limited to 'bot/exts/evergreen/conversationstarters.py')
-rw-r--r--bot/exts/evergreen/conversationstarters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py
index 576b8d76..e7058961 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -5,7 +5,7 @@ from discord import Color, Embed
from discord.ext import commands
from bot.constants import WHITELISTED_CHANNELS
-from bot.utils.decorators import override_in_channel
+from bot.utils.decorators import whitelist_override
from bot.utils.randomization import RandomCycle
SUGGESTION_FORM = 'https://forms.gle/zw6kkJqv8U43Nfjg9'
@@ -38,7 +38,7 @@ class ConvoStarters(commands.Cog):
self.bot = bot
@commands.command()
- @override_in_channel(ALL_ALLOWED_CHANNELS)
+ @whitelist_override(channels=ALL_ALLOWED_CHANNELS)
async def topic(self, ctx: commands.Context) -> None:
"""
Responds with a random topic to start a conversation.