Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ target/

# Cloudbot
persist/
logs/
config.json
*.db
*.log
Expand Down
1 change: 1 addition & 0 deletions cloudbot/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,5 @@ def _on_start_hook(func):
return lambda func: _on_start_hook(func)


# this is temporary, to ease transition
onload = on_start
2 changes: 1 addition & 1 deletion plugins/correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def correction(match, conn, chan, message):
mod_msg = find_re.sub("\x02" + replacement + "\x02", msg, count=int("g" not in flags))
message("Correction, {}".format(("<{}> " if not is_action else "* {}").format(nick) + mod_msg))
# append to end of history file
msg = find_re.sub(replacement, msg, count=int("g not" in flags))
msg = find_re.sub(replacement, msg, count=int("g" not in flags))
conn.history[chan].append((nick, timestamp, msg))
return
else:
Expand Down
2 changes: 1 addition & 1 deletion plugins/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def derpify(text):
"WHAT THE": "WT", "WHAT": "WUT", "ARE": "R", "WHY": "Y", "BE RIGHT BACK": "BRB", "BECAUSE": "B/C",
"OH MY GOD": "OMG", "O": "OH", "THE": pick_the, "TOO": "2", "TO": "2", "BE": "B", "CK": "K", "ING": "NG",
"PLEASE": "PLS", "SEE YOU": "CYA", "SEE YA": "CYA", "SCHOOL": "SKOOL", "AM": "M",
"AM GOING TO": "IAM GOING TO",
"AM GOING TO": "IAM GOING TO", "THAT": "DAT", "ICK": "IK",
"LIKE": "LIEK", "HELP": "HALP", "KE": "EK", "E": pick_e, "!": pick_ex, "?": pick_qt}
output = translate(string, rules) + " " + pick_end

Expand Down