diff --git a/modules/avalon/__init__.py b/modules/avalon/__init__.py new file mode 100644 index 0000000..9f7ef53 --- /dev/null +++ b/modules/avalon/__init__.py @@ -0,0 +1,56 @@ +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 (/<@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.init({"spectate_channel": 0, + "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":"", + "perceval":0, + "gentil":0, + "assassin":0, + "mordred":0, + "morgane":0, + "oberon":0, + "mechant":0, + "test":15} + }) + diff --git a/modules/avalon/roles.py b/modules/avalon/roles.py new file mode 100644 index 0000000..e69de29