public AdminEditCommand(TomeChat chat) { _chat = chat; Tables.Add("command", new Table(Database.GetDatabase("tomestone.db"), "commands", "id", "reply")); Tables.Add("reply", new Table(Database.GetDatabase("tomestone.db"), "replies", "id", "reply")); }
public UserBribeCommand(TomeChat chat) { _chat = chat; _tables.Add("bribe", new Table(Database.GetDatabase("tomestone.db"), "votes", "id", "name", "count", "vote")); _tables.Add("dragon", new Table(Database.GetDatabase("dragon.db"), "dragon", "dragonId", "user", "coins")); }
public AdminDeleteCommand(TomeChat chat) { _chat = chat; _tables.Add("command", new Table(Database.GetDatabase("tomestone.db"), "commands", "id")); _tables.Add("reply", new Table(Database.GetDatabase("tomestone.db"), "replies", "id")); _tables.Add("quote", new Table(Database.GetDatabase("tomestone.db"), "quotes", "id")); }
public void Start() { RememberCredentials(); chatMain = View.Main; chatMods = View.Mods; Chat = new TomeChat(View.Login, View.OAuth, View.Main, View.Mods); }
public UserQuoteCommand(TomeChat chat) { _chat = chat; _tables.Add("quote", new Table(Database.GetDatabase("tomestone.db"), "quotes", "id", "addedBy", "trigger", "reply")); }
public AdminTomeoutCommand(TomeChat chat) { _blacklist = new Dictionary <string, DateTime>(); _chat = chat; }
public UserTeachCommand(TomeChat chat) { _chat = chat; Tables.Add("reply", new Table(Database.GetDatabase("tomestone.db"), "replies", "id", "addedBy", "trigger", "reply")); }
public AdminInfoCommand(TomeChat chat) { _chat = chat; }
public UserHighlightCommand(TomeChat chat) { _chat = chat; }
public AdminAddCommand(TomeChat chat) { _chat = chat; }
public AdminCheckCommand(ChatDatabase database, TomeChat chat) { _database = database; _chat = chat; }