2021-08-07 15:00:14 +02:00
|
|
|
import discord
|
|
|
|
|
from discord.ext import commands
|
2021-08-11 15:09:57 +02:00
|
|
|
import log
|
2021-08-07 15:00:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# setup logging
|
2021-08-11 15:09:57 +02:00
|
|
|
logger = log.get_logger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
e = discord.Embed()
|
2021-08-07 15:00:14 +02:00
|
|
|
|
|
|
|
|
|
2021-08-10 00:31:25 +02:00
|
|
|
class Misc(commands.Cog):
|
2021-08-07 15:00:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, bot):
|
|
|
|
|
self.bot = bot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@commands.command()
|
|
|
|
|
async def hug(self, ctx):
|
|
|
|
|
msg = f'Jeeves geeft {ctx.message.author.mention} een grote knuffel'
|
|
|
|
|
await ctx.send(msg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@commands.command()
|
|
|
|
|
async def eirik(self, ctx):
|
|
|
|
|
await ctx.send('Deze vraag heeft Eirik Fatland al beantwoord in 1997.')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@commands.Cog.listener()
|
|
|
|
|
async def on_ready(self):
|
|
|
|
|
print('##### RANDOM module active')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup(bot):
|
2021-08-10 00:31:25 +02:00
|
|
|
bot.add_cog(Misc(bot))
|