Skip to content

Commit ca65237

Browse files
authored
Merge pull request CloudBotIRC#116 from A-UNDERSCORE-D/gonzobot-sauce
Added a source command
2 parents 49d2d50 + ceffb25 commit ca65237

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

plugins/system.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,11 @@ def system(reply, message):
6767
cpu_usage,
6868
memory_usage)
6969
)
70+
71+
72+
@hook.command("sauce", "source", autohelp=False)
73+
def sauce():
74+
"""Returns a link to the source"""
75+
return "Check out my source code! I am a fork of cloudbot: " \
76+
"https://github.com/CloudBotIRC/CloudBot/ and my source is here: " \
77+
"https://github.com/edwardslabs/CloudBot"

0 commit comments

Comments
 (0)