Permalink
Browse files

Update readme

  • Loading branch information...
1 parent ae0efa9 commit cdde7cd30a2a12ff0c68a5e9470ce7c22a863a58 @jjmalina committed Mar 18, 2013
Showing with 7 additions and 2 deletions.
  1. +6 −1 README.md
  2. +1 −1 gudguy/youtube.py
View
@@ -14,4 +14,9 @@ Currently searches [Giphy](http://giphy.com), [SoundCloud](http://soundcloud.com
return 'Hi.'
* Then in `gudguy/__init__.py` make sure the module your command was defined in is imported.
-* All command must be prefixed with `.`, i.e. `.youtube`
+* All commands must be prefixed with `.`, i.e. `.youtube`
+
+Commands:
+* `.g`, `.giphy` searches [Giphy](http://giphy.com). You can add `random` to your query to pull a random gif.
+* `.sc`, `.soundcloud_track` searches [SoundCloud](http://soundcloud.com) for tracks.
+* `.yt`, `.youtube` searches [YouTube](http://youtube.com).
View
@@ -9,7 +9,7 @@
@bot.command('yt')
@bot.command
-def youtube_search(context):
+def youtube(context):
res = requests.get(search_api_url, params={'q': context.args})
if not res.status_code == 200:
return 'Error making request'

0 comments on commit cdde7cd

Please sign in to comment.