public QueueHandler(Bot bot) { this.bot = bot; bot.sql.update("UPDATE queue SET queued = '-1' WHERE queued = '" + bot.getBotId() + "'"); Thread oThread = new Thread(new ThreadStart(this.run)); oThread.Start(); }
public QueueHandler(Bot bot) { this.bot = bot; bot.sql.update("UPDATE queue SET queued = '-1' WHERE queued = '" + bot.getBotId() + "'"); Thread oThread = new Thread(new ThreadStart(this.run)); oThread.Start(); }