We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6f8b5 commit eedd32dCopy full SHA for eedd32d
src/helpers/serverHandler.ts
@@ -36,12 +36,6 @@ class serverHandler {
36
Tails.on("discord", (log) => this.discordHandler(log));
37
// Tails.on("ALL", (log) => this.allHandler(log))
38
}
39
- private formatDate(line: string) {
40
- return line.trim().slice(line.indexOf("0.000") + 6, 25);
41
- }
42
- private formatVersion(line: string) {
43
- return line.slice(line.indexOf("Factorio"), line.indexOf("(build")).trim();
44
45
private formatChatData(data: string) {
46
data = data.slice(data.indexOf("]") + 2); //removing the [CHAT] from sending to Discord
47
if (data.includes("[")) {
0 commit comments