2021-08-07 14:58:24 +02:00
|
|
|
import discord
|
|
|
|
|
from discord.ext import commands
|
2021-08-11 20:02:47 +02:00
|
|
|
from logging import getLogger
|
2021-08-07 14:58:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# setup logging
|
2021-08-11 20:02:47 +02:00
|
|
|
log = getLogger(__name__)
|
2021-08-11 15:09:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
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):
|
2021-08-11 20:02:47 +02:00
|
|
|
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))
|