diff --git a/matchy.py b/matchy.py index 060e433..9b24a8a 100644 --- a/matchy.py +++ b/matchy.py @@ -6,7 +6,7 @@ import discord from discord.ext import commands import os from matchy.state import load_from_file -import matchy.cogs.matchy +import matchy.cogs.matcher import matchy.cogs.owner _STATE_FILE = ".matchy/state.json" @@ -24,7 +24,7 @@ bot = commands.Bot(command_prefix='$', @bot.event async def setup_hook(): - await bot.add_cog(matchy.cogs.matchy.MatchyCog(bot, state)) + await bot.add_cog(matchy.cogs.matcher.MatcherCog(bot, state)) await bot.add_cog(matchy.cogs.owner.OwnerCog(bot, state)) diff --git a/matchy/cogs/matchy.py b/matchy/cogs/matcher.py similarity index 99% rename from matchy/cogs/matchy.py rename to matchy/cogs/matcher.py index 1080374..6c4f2c8 100644 --- a/matchy/cogs/matchy.py +++ b/matchy/cogs/matcher.py @@ -16,7 +16,7 @@ logger = logging.getLogger("cog") logger.setLevel(logging.INFO) -class MatchyCog(commands.Cog): +class MatcherCog(commands.Cog): def __init__(self, bot: commands.Bot, state: State): self.bot = bot self.state = state