mirror of
https://github.com/MrDetonia/Maki.git
synced 2024-11-22 11:54:16 -05:00
v1.0.1 - call discord_typing properly, minor formatting
This commit is contained in:
parent
d6e9e45ea3
commit
288a08ee1d
@ -104,7 +104,7 @@ def cmd_sayy(client, msg):
|
|||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def cmd_markov(client, msg):
|
def cmd_markov(client, msg):
|
||||||
discord_typing(client, msg)
|
yield from discord_typing(client, msg)
|
||||||
|
|
||||||
tmp = msg.content[8:]
|
tmp = msg.content[8:]
|
||||||
target = ""
|
target = ""
|
||||||
@ -161,7 +161,7 @@ def cmd_roll(client, msg):
|
|||||||
def cmd_qr(client, msg):
|
def cmd_qr(client, msg):
|
||||||
tmp = msg.content[4:]
|
tmp = msg.content[4:]
|
||||||
|
|
||||||
discord_typing(client, msg)
|
yield from discord_typing(client, msg)
|
||||||
|
|
||||||
# generate qr code
|
# generate qr code
|
||||||
qr = subprocess.Popen("qrencode -t png -o -".split(), stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
qr = subprocess.Popen("qrencode -t png -o -".split(), stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user