Enable dev mod via env

This commit is contained in:
Sebastien 2018-11-22 01:23:01 +02:00
parent a650662cf1
commit 9359f618da

View File

@ -68,6 +68,9 @@ public class MainBot {
} }
token = System.getenv("TOKEN"); token = System.getenv("TOKEN");
jda = Init.initJda(token, dev); jda = Init.initJda(token, dev);
if(System.getenv("dev")!= null){
dev = true;
}