bot-base/modules/avalon/__init__.py

57 lines
2.1 KiB
Python
Raw Normal View History

2020-04-05 11:50:40 +02:00
import datetime
import discord
import utils.emojis
from modules.base import BaseClassPython
class MainClass(BaseClassPython):
name = "Avalon"
help = {
"description": "Maître du jeu Avalon.",
"commands": {
"`{prefix}{command} join`": "",
"`{prefix}{command} quit`": "",
"`{prefix}{command} players list`": "",
"`{prefix}{command} players kick (<user_id>/<@mention>)`": "",
"`{prefix}{command} roles setup`": "",
"`{prefix}{command} roles list`": "",
}
}
help_active = True
command_text = "perdu"
color = 0xff6ba6
def __init__(self, client):
super().__init__(client)
self.config.set({"spectate_channel": 0,
2020-04-05 11:50:40 +02:00
"illustrations":{"merlin":"",
"perceval":"",
"gentil":"",
"assassin":"",
"mordred":"",
"morgane":"",
"oberon":"",
"mechant":""},
"couleurs":{"merlin":"",
"perceval":0,
"gentil":0,
"assassin":0,
"mordred":0,
"morgane":0,
"oberon":0,
"mechant":0,
"test":15},
"test":{"merlin":"",
2020-04-05 11:50:40 +02:00
"perceval":0,
"gentil":0,
"assassin":0,
"mordred":0,
"morgane":0,
"oberon":0,
"mechant":0,
"test":15}
})
2020-04-05 11:50:40 +02:00