Closes #2
This commit is contained in:
@@ -2,6 +2,7 @@ import logging
|
||||
|
||||
from discord import Cog, Message
|
||||
from discord.ext import commands
|
||||
from libbot.pycord.classes import PycordBot
|
||||
|
||||
from modules.database import col_analytics
|
||||
|
||||
@@ -9,7 +10,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Analytics(commands.Cog):
|
||||
def __init__(self, client):
|
||||
def __init__(self, client: PycordBot):
|
||||
self.client = client
|
||||
|
||||
@Cog.listener()
|
||||
@@ -54,3 +55,7 @@ class Analytics(commands.Cog):
|
||||
"attachments": attachments,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
def setup(client: PycordBot):
|
||||
client.add_cog(Analytics(client))
|
||||
|
Reference in New Issue
Block a user