Files
discord-jeeves/cogs/moderator.py

26 lines
396 B
Python
Raw Normal View History

2021-08-07 14:58:24 +02:00
import discord
from discord.ext import commands
from logging import getLogger
2021-08-07 14:58:24 +02:00
# setup logging
log = getLogger(__name__)
e = discord.Embed()
2021-08-07 14:58:24 +02:00
class Moderator(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_ready(self):
log.info(f'module active')
2021-08-07 14:58:24 +02:00
2022-11-09 14:10:46 +01:00
async def setup(bot):
await bot.add_cog(Moderator(bot))