bot-base/modules/rtfgd/__init__.py

30 lines
855 B
Python
Raw Normal View History

import random
import discord
from modules.base import BaseClassPython
class MainClass(BaseClassPython):
name = "rtfgd"
help = {
"description": "Read the fucking google doc",
"commands": {
"{prefix}{command} <mention>": "Demande gentilment de lire le google doc"
}
}
help_active = True
command_text = "rtfgd"
color = 0xdb1348
def __init__(self, client):
super().__init__(client)
self.config.init({"memes": []})
async def command(self, message, args, kwargs):
await message.channel.send(
" ".join(member.mention for member in message.mentions),
embed=discord.Embed(title="Read da fu**ing GOOGLE DOCS ! (╯°□°)╯︵ ┻━┻",
color=self.color).set_image(url=random.choice(self.config.memes)))