Added swear command

dev
pocketjawa 2019-05-21 22:03:04 -04:00
parent 70204b151c
commit 242dcf8d3e
2 changed files with 7 additions and 1 deletions

View File

@ -24,3 +24,4 @@
**!np**: Posts currently playing info for ToukuFM. **!np**: Posts currently playing info for ToukuFM.
**!roll**: Rolls any number of dice! Use like `!roll d20`, `!roll 2d6`, or `!roll 3d6 d20` **!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. **!fmskip station**: Tells LiquidSoap to skip the currently playing track on **station** on JawaFM.
**!swear**: Make me swear!

View File

@ -379,6 +379,11 @@ def on_message(message):
tn.write(skipcommand.encode('ascii')) tn.write(skipcommand.encode('ascii'))
tn.close() 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()) client.loop.create_task(ups_check())