Added swear command
parent
70204b151c
commit
242dcf8d3e
|
@ -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!
|
**!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.
|
**!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!
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue