Skip to content

Commit

Permalink
Fix !!/random in example (fixes #62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed May 10, 2014
1 parent b91cee0 commit a6fa312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def on_message(message, wrapper):
if message.content.startswith('!!/random'):
print message
print "Spawning thread"
message.reply(str(random.random()))
message.message.reply(str(random.random()))


def setup_logging():
Expand Down

0 comments on commit a6fa312

Please sign in to comment.