Rename the ambiguous cog name
This commit is contained in:
parent
e8ff102e33
commit
51b49f507d
2 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue