wenn du das da schon änderst musst du das überall machen
This commit is contained in:
parent
258be0f57b
commit
23803144be
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ public class Main {
|
||||||
public static ArrayList<JDA> manager = new ArrayList<>();
|
public static ArrayList<JDA> manager = new ArrayList<>();
|
||||||
public static int currentBot =0;
|
public static int currentBot =0;
|
||||||
public static ArrayList<String> onlineclients = new ArrayList<>();
|
public static ArrayList<String> onlineclients = new ArrayList<>();
|
||||||
public static long Messageperh = 0;
|
public static long Actionperh = 0;
|
||||||
public static ArrayList<Guild> guilds = new ArrayList<>();
|
public static ArrayList<Guild> guilds = new ArrayList<>();
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
|
||||||
|
|
@ -44,12 +44,12 @@ public class test2 {
|
||||||
String[] stats = stringBuilder.toString().split(" ");
|
String[] stats = stringBuilder.toString().split(" ");
|
||||||
String statsstring = stringBuilder.toString();
|
String statsstring = stringBuilder.toString();
|
||||||
statsstring = statsstring.replaceFirst(stats[0]+" ", "");
|
statsstring = statsstring.replaceFirst(stats[0]+" ", "");
|
||||||
statsstring = statsstring+" "+Main.Messageperh;
|
statsstring = statsstring+" "+Main.Actionperh;
|
||||||
FileWriter fw = new FileWriter("stats.txt");
|
FileWriter fw = new FileWriter("stats.txt");
|
||||||
BufferedWriter bw = new BufferedWriter(fw);
|
BufferedWriter bw = new BufferedWriter(fw);
|
||||||
bw.write(statsstring);
|
bw.write(statsstring);
|
||||||
bw.close();
|
bw.close();
|
||||||
Main.Messageperh =0;
|
Main.Actionperh =0;
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue