mirror of
https://github.com/MrDetonia/Maki.git
synced 2024-11-14 00:46:23 -05:00
v1.0.5 rip gitla.in - updated git url
This commit is contained in:
parent
b0fe3033c7
commit
b28ff3691d
2
bot.py
2
bot.py
@ -62,7 +62,7 @@ def on_message(msg):
|
|||||||
try:
|
try:
|
||||||
print("{} {} - {} | {}: {}".format(timestr, msg.server.name, msg.channel.name, msg.author.name, msg.content))
|
print("{} {} - {} | {}: {}".format(timestr, msg.server.name, msg.channel.name, msg.author.name, msg.content))
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
print("{} | PRIVATE | {}: {}".format(timestr, msg.author.name, msg.content))
|
print("{} PRIVATE | {}: {}".format(timestr, msg.author.name, msg.content))
|
||||||
|
|
||||||
# do not parse own messages or private messages
|
# do not parse own messages or private messages
|
||||||
if msg.author != client.user and type(msg.channel) is not discord.PrivateChannel:
|
if msg.author != client.user and type(msg.channel) is not discord.PrivateChannel:
|
||||||
|
@ -41,7 +41,7 @@ def cmd_info(client, msg):
|
|||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def cmd_upskirt(client, msg):
|
def cmd_upskirt(client, msg):
|
||||||
response = "No, don\'t look at my pantsu, baka! <https://gitla.in/MrDetonia/maki>"
|
response = "No, don\'t look at my pantsu, baka! <https://github.com/MrDetonia/maki>"
|
||||||
yield from discord_send(client, msg, response)
|
yield from discord_send(client, msg, response)
|
||||||
|
|
||||||
|
|
||||||
@ -301,4 +301,4 @@ commands = {
|
|||||||
"qr": cmd_qr,
|
"qr": cmd_qr,
|
||||||
"np": cmd_np,
|
"np": cmd_np,
|
||||||
"steam": cmd_steam,
|
"steam": cmd_steam,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user