Skip to content

Commit f067be2

Browse files
author
Foxlet
committed
Repo Synchro.
2 parents 35d6381 + 9d05a90 commit f067be2

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ target/
5252

5353
# Cloudbot
5454
persist/
55+
logs/
5556
config.json
5657
*.db
5758
*.log

cloudbot/hook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,4 +297,5 @@ def _on_start_hook(func):
297297
return lambda func: _on_start_hook(func)
298298

299299

300+
# this is temporary, to ease transition
300301
onload = on_start

plugins/correction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def correction(match, conn, chan, message):
3434
mod_msg = find_re.sub("\x02" + replacement + "\x02", msg, count=int("g" not in flags))
3535
message("Correction, {}".format(("<{}> " if not is_action else "* {}").format(nick) + mod_msg))
3636
# append to end of history file
37-
msg = find_re.sub(replacement, msg, count=int("g not" in flags))
37+
msg = find_re.sub(replacement, msg, count=int("g" not in flags))
3838
conn.history[chan].append((nick, timestamp, msg))
3939
return
4040
else:

plugins/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def derpify(text):
215215
"WHAT THE": "WT", "WHAT": "WUT", "ARE": "R", "WHY": "Y", "BE RIGHT BACK": "BRB", "BECAUSE": "B/C",
216216
"OH MY GOD": "OMG", "O": "OH", "THE": pick_the, "TOO": "2", "TO": "2", "BE": "B", "CK": "K", "ING": "NG",
217217
"PLEASE": "PLS", "SEE YOU": "CYA", "SEE YA": "CYA", "SCHOOL": "SKOOL", "AM": "M",
218-
"AM GOING TO": "IAM GOING TO",
218+
"AM GOING TO": "IAM GOING TO", "THAT": "DAT", "ICK": "IK",
219219
"LIKE": "LIEK", "HELP": "HALP", "KE": "EK", "E": pick_e, "!": pick_ex, "?": pick_qt}
220220
output = translate(string, rules) + " " + pick_end
221221

0 commit comments

Comments
 (0)