Fix a bunch of failed imports and types from previous changes
This commit is contained in:
parent
01e9c98d3f
commit
a5d66aca4e
5 changed files with 9 additions and 9 deletions
|
@ -8,15 +8,15 @@ from discord.ext import commands, tasks
|
|||
from datetime import datetime, timedelta, time
|
||||
|
||||
import matchy.views.match as match
|
||||
import matching
|
||||
import matchy.matching as matching
|
||||
from matchy.files.state import State, AuthScope
|
||||
import util
|
||||
import matchy.util as util
|
||||
|
||||
logger = logging.getLogger("cog")
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
|
||||
class Cog(commands.Cog):
|
||||
class MatchyCog(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot, state: State):
|
||||
self.bot = bot
|
||||
self.state = state
|
||||
|
|
|
@ -9,7 +9,7 @@ logger = logging.getLogger("owner")
|
|||
logger.setLevel(logging.INFO)
|
||||
|
||||
|
||||
class Cog(commands.Cog):
|
||||
class OwnerCog(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot, state: State):
|
||||
self._bot = bot
|
||||
self._state = state
|
||||
|
|
|
@ -6,7 +6,7 @@ import discord
|
|||
import re
|
||||
|
||||
import matchy.files.state as state
|
||||
import matching
|
||||
import matchy.matching as matching
|
||||
|
||||
logger = logging.getLogger("match_button")
|
||||
logger.setLevel(logging.INFO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue