diff --git a/helpcommand.txt b/helpcommand.txt index 277baae..0a6544a 100644 --- a/helpcommand.txt +++ b/helpcommand.txt @@ -23,4 +23,5 @@ **!giveaway prize**: Do a giveaway based on users reacting with the emoji you react with secretly. Use in private and replace prize with an actual prize! **!np**: Posts currently playing info for ToukuFM. **!roll**: Rolls any number of dice! Use like `!roll d20`, `!roll 2d6`, or `!roll 3d6 d20` -**!fmskip station**: Tells LiquidSoap to skip the currently playing track on **station** on JawaFM. \ No newline at end of file +**!fmskip station**: Tells LiquidSoap to skip the currently playing track on **station** on JawaFM. +**!swear**: Make me swear! \ No newline at end of file diff --git a/pocketbot.py b/pocketbot.py index 53e93c4..0de2d11 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -379,6 +379,11 @@ def on_message(message): tn.write(skipcommand.encode('ascii')) tn.close() + #Get creative swear + elif message.content.lower().startswith(command_prefix + 'swear'): + swear = requests.get("https://swear.jawa.moe").text + yield from client.send_message(message.channel, swear) + client.loop.create_task(ups_check())