Skip to content

Commit

Permalink
Tools#getLogDetails(): Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirain1700 committed Aug 23, 2023
1 parent ac16c80 commit 6c48048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const warnRegex = /(?<target>.{2,20}) was warned by (?<staff>.{2,20})\.( \((?<re
const roomBanRegex =
/(?<target>^.{2,20}) was banned (for (?<duration>a week) )?from (?<room>.{2,20}) by (?<staff>.{2,20})\.( \((?<reason>.*)\))?/;
const blackListRegex =
/\((?<target>^.{2,20}) was blacklisted from (?<room>.{2,20}) by (?<staff>.{2,20})(for (?<duration>ten years) )?\.( \((?<reason>.*)\))?\)/;
/\((?<target>.{2,20}) was blacklisted from (?<room>.{2,20}) by (?<staff>.{2,20})(for (?<duration>ten years) )?\.( \((?<reason>.*)\))?\)/;
const globalBanRegex = /(?<target>^.{2,20}) was globally banned by (?<staff>.{2,20})\.\((?<reason>.*)\)/;
const lockRegex =
/(?<target>^.{2,20}) was locked from talking (for (?<duration>a week|a month) )?by (?<staff>.{2,20})\.( \((?<reason>.*)\))?/;
Expand Down

0 comments on commit 6c48048

Please sign in to comment.