18 lines
369 B
Python
18 lines
369 B
Python
from discord.ext import commands
|
|
import discord
|
|
|
|
|
|
class MyCog(commands.Cog):
|
|
def __init__(self, bot: commands.Bot):
|
|
self.bot = bot
|
|
|
|
async def cog_load(self):
|
|
print(f"{self.__class__.__name__} loaded!")
|
|
|
|
async def cog_unload(self):
|
|
print(f"{self.__class__.__name__} unloaded!")
|
|
|
|
|
|
async def setup(bot):
|
|
await bot.add_cog(EDT(bot))
|