Merge pull request #1 from jwinterm/master

pull
This commit is contained in:
ferretinjapan 2017-05-04 00:04:21 +09:30 committed by GitHub
commit c6a36897c9
4 changed files with 21 additions and 13 deletions

Binary file not shown.

BIN
price.pyc

Binary file not shown.

View File

@ -104,6 +104,10 @@ def fib(bot, trigger):
def flip(bot, trigger): def flip(bot, trigger):
bot.say(u'(╯°□°)╯︵ ┻━┻'.encode('utf8')) bot.say(u'(╯°□°)╯︵ ┻━┻'.encode('utf8'))
@sopel.module.commands('fuck')
def fuck(bot, trigger):
bot.say("Fuck your {} if you want fuck!".format(trigger.group(2)))
fuckyouoptions = [ fuckyouoptions = [
"http://imgur.com/Kt8os8v", "http://imgur.com/Kt8os8v",
"https://pbs.twimg.com/profile_images/502111486915788801/DtB5ruDz_400x400.jpeg", "https://pbs.twimg.com/profile_images/502111486915788801/DtB5ruDz_400x400.jpeg",
@ -157,6 +161,10 @@ def joshua(bot, trigger):
def jwinterm(bot, trigger): def jwinterm(bot, trigger):
bot.say(u'j_winter_m') bot.say(u'j_winter_m')
@sopel.module.commands('kid', 'rehrar')
def kid(bot, trigger):
bot.say(u'What up kid?')
@sopel.module.commands('lenny') @sopel.module.commands('lenny')
def lenny(bot, trigger): def lenny(bot, trigger):
bot.say(u'( ͡° ͜ʖ ͡°)'.encode('utf8')) bot.say(u'( ͡° ͜ʖ ͡°)'.encode('utf8'))
@ -362,20 +370,20 @@ def asp(bot, trigger):
try: try:
r=requests.get(polourl) r=requests.get(polourl)
j=r.json() j=r.json()
except: except:
bot.say("Error connecting to Poloniex") bot.say("Error connecting to Poloniex")
label_dash="BTC_DASH" label_dash="BTC_DASH"
label_decred="BTC_DCR" label_decred="BTC_DCR"
label_factom="BTC_FCT" label_factom="BTC_FCT"
label_golem="BTC_GNT" label_golem="BTC_GNT"
label_maidsafecoin="BTC_MAID" label_maidsafecoin="BTC_MAID"
label_augur="BTC_REP" label_augur="BTC_REP"
label_stellar="BTC_STR" label_stellar="BTC_STR"
label_nem="BTC_XEM" label_nem="BTC_XEM"
label_ripple="BTC_XRP" label_ripple="BTC_XRP"
label_zcash="BTC_ZEC" label_zcash="BTC_ZEC"
# Bitstamp # Bitstamp
try: try:

Binary file not shown.