aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/conversationstarters.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-04-20 15:46:30 -0400
committerGravatar ToxicKidz <[email protected]>2021-04-20 15:46:30 -0400
commitcda51f67c08df73951faa960858d72da281cfb74 (patch)
treec60925226262cbca2ccf6a3db139dff669aa2831 /bot/exts/evergreen/conversationstarters.py
parentClean Up Christmas Season (diff)
parentchore: ctx.channel.send -> ctx.send (diff)
Merge branch 'spring-cleanup' of https://github.com/ToxicKidz/sir-lancebot into spring-cleanup
Diffstat (limited to 'bot/exts/evergreen/conversationstarters.py')
-rw-r--r--bot/exts/evergreen/conversationstarters.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py
index e7058961..54fea0b3 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -4,6 +4,7 @@ import yaml
from discord import Color, Embed
from discord.ext import commands
+from bot.bot import Bot
from bot.constants import WHITELISTED_CHANNELS
from bot.utils.decorators import whitelist_override
from bot.utils.randomization import RandomCycle
@@ -34,9 +35,6 @@ TOPICS = {
class ConvoStarters(commands.Cog):
"""Evergreen conversation topics."""
- def __init__(self, bot: commands.Bot):
- self.bot = bot
-
@commands.command()
@whitelist_override(channels=ALL_ALLOWED_CHANNELS)
async def topic(self, ctx: commands.Context) -> None:
@@ -66,6 +64,6 @@ class ConvoStarters(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: commands.Bot) -> None:
- """Conversation starters Cog load."""
+def setup(bot: Bot) -> None:
+ """Load the ConvoStarters cog."""
bot.add_cog(ConvoStarters(bot))