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)
|
2020-04-14 02:31:36 +02:00
|
|
|
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},
|
2020-04-14 02:31:36 +02:00
|
|
|
"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-14 02:31:36 +02:00
|
|
|
})
|
2020-04-05 11:50:40 +02:00
|
|
|
|