blob: 738070bdccc25fbee6f75ddb042bf62cabfb160b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package de.romjaki.privateroombot;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
public class Config {
public static Config CONFIG;
static {
try {
CONFIG = Main.gson.fromJson(new FileReader(new File("config.json")), Config.class);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
String token;
String from_channel_id;
String category_id;
}
|