def __init__(self, bot): super().__init__(bot) self.guild_storage = SQLiteGuildTable("moderation", [ SQLiteColumn("mute_role", SQLiteDataType.INTEGER, None), SQLiteColumn("inv_cop", SQLiteDataType.INTEGER, False), SQLiteColumn("invcop_bypasses", SQLiteDataType.JSON, "[]") ])
def __init__(self, bot): super().__init__(bot) self.guild_storage = SQLiteGuildTable("roles", [ SQLiteColumn("role_me_lvl", SQLiteDataType.INTEGER, None), SQLiteColumn("role_me_roles", SQLiteDataType.JSON, "[]"), SQLiteColumn("join_role", SQLiteDataType.INTEGER, None), SQLiteColumn("rolestate", SQLiteDataType.BOOL, SQLiteBool.FALSE), SQLiteColumn("rolestate_storage", SQLiteDataType.JSON, "{}") ])
def __init__(self, bot): super().__init__(bot) self.guild_storage = SQLiteGuildTable( "logging", [SQLiteColumn("log_channel", SQLiteDataType.INTEGER, None)])
def __init__(self, bot): super().__init__(bot) self.guild_storage = SQLiteGuildTable( "misc", [SQLiteColumn("ts_ban", SQLiteDataType.INTEGER, False)])
def __init__(self, bot): super().__init__(bot) self.config = JsonConfigManager("misc.json", DEFAULT) self.guild_storage = SQLiteGuildTable( "misc", [SQLiteColumn("ts_ban", SQLiteDataType.INTEGER, False)])