added DB information
parent
56eaf9a9b3
commit
75b9530029
|
@ -13,6 +13,13 @@ public class Main {
|
||||||
String startupTime = String.format("%1$tY-%1$tm-%1$td %1$tI:%1$tM:%1$tS%1$tp UTC%1$tz", new Date());
|
String startupTime = String.format("%1$tY-%1$tm-%1$td %1$tI:%1$tM:%1$tS%1$tp UTC%1$tz", new Date());
|
||||||
|
|
||||||
String token = args[0];
|
String token = args[0];
|
||||||
|
String db_username = args[1];
|
||||||
|
String db_password = args[2];
|
||||||
|
String db_name = "quizbot";
|
||||||
|
// CREATE TABLE questions(id INT(32) AUTO_INCREMENT PRIMARY KEY, question TEXT, max_score INT(8));
|
||||||
|
// CREATE TABLE answer_coices(id INT(32), answer VARCHAR(2048), correctness BOOLEAN);
|
||||||
|
// CREATE TABLE user_answers(id INT(32), given_answer VARCHAR(2048), discord_user VARCHAR(1024));
|
||||||
|
// CREATE TABLE categories(id INT(32), category VARCHAR(1024));
|
||||||
|
|
||||||
CheckDeploy check = new CheckDeploy(7500, "/var/www/deployment/Hacky-Quizbot/id.txt");
|
CheckDeploy check = new CheckDeploy(7500, "/var/www/deployment/Hacky-Quizbot/id.txt");
|
||||||
check.start();
|
check.start();
|
||||||
|
|
Loading…
Reference in New Issue