Added swear command
parent
70204b151c
commit
242dcf8d3e
|
@ -24,3 +24,4 @@
|
|||
**!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.
|
||||
**!swear**: Make me swear!
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue