mirror of
https://github.com/kennethreitz-archive/changebot.git
synced 2026-06-05 23:40:18 +00:00
new 'fortune' command for oldschool BSD fotrune
This commit is contained in:
committed by
Chris Wanstrath
parent
6733bcd2d9
commit
6507dc8e83
@@ -175,6 +175,13 @@ hear /commit/, (message) ->
|
||||
get url, (body) ->
|
||||
message.say body
|
||||
|
||||
desc 'fortune'
|
||||
hear /fortune/, (message) ->
|
||||
url = "http://www.fortunefortoday.com/getfortuneonly.php"
|
||||
|
||||
get url, (body) ->
|
||||
message.say body
|
||||
|
||||
desc 'weather in PLACE'
|
||||
hear /weather in (.+)/i, (message) ->
|
||||
place = message.match[1]
|
||||
|
||||
Reference in New Issue
Block a user