Louis Chauvet
08d9998f73
[mod-newmember] Utilisation de log et pas de print [mod-panic] Remplacement de nikola par self.client.name (TODO: Vérifier que ca marche) [mod-readrule] Remplacement de la concaténation toute moche par un format [mod-restart] Ajout du todo pour pas oublier cette merde [mod-roles] Suppression des prints
26 lines
790 B
Python
26 lines
790 B
Python
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"
|
|
}
|
|
}
|
|
|
|
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.config.color).set_image(url=random.choice(self.config.memes)))
|