Skip to content

Commit eedd32d

Browse files
committed
fix(serverHandler): remove unused functions
1 parent 9b6f8b5 commit eedd32d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/helpers/serverHandler.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ class serverHandler {
3636
Tails.on("discord", (log) => this.discordHandler(log));
3737
// Tails.on("ALL", (log) => this.allHandler(log))
3838
}
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-
}
4539
private formatChatData(data: string) {
4640
data = data.slice(data.indexOf("]") + 2); //removing the [CHAT] from sending to Discord
4741
if (data.includes("[")) {

0 commit comments

Comments
 (0)