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 int currentBot =0;
|
||||
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 void main(String[] args) {
|
||||
|
|
|
|||
|
|
@ -44,12 +44,12 @@ public class test2 {
|
|||
String[] stats = stringBuilder.toString().split(" ");
|
||||
String statsstring = stringBuilder.toString();
|
||||
statsstring = statsstring.replaceFirst(stats[0]+" ", "");
|
||||
statsstring = statsstring+" "+Main.Messageperh;
|
||||
statsstring = statsstring+" "+Main.Actionperh;
|
||||
FileWriter fw = new FileWriter("stats.txt");
|
||||
BufferedWriter bw = new BufferedWriter(fw);
|
||||
bw.write(statsstring);
|
||||
bw.close();
|
||||
Main.Messageperh =0;
|
||||
Main.Actionperh =0;
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue