Przeglądaj źródła

v1.0.5 rip gitla.in - updated git url

master
Zac Herd 6 lat temu
rodzic
commit
b28ff3691d
3 zmienionych plików z 4 dodań i 4 usunięć
  1. +1
    -1
      bot.py
  2. +2
    -2
      commands.py
  3. +1
    -1
      common.py

+ 1
- 1
bot.py Wyświetl plik

@@ -62,7 +62,7 @@ def on_message(msg):
try:
print("{} {} - {} | {}: {}".format(timestr, msg.server.name, msg.channel.name, msg.author.name, msg.content))
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
if msg.author != client.user and type(msg.channel) is not discord.PrivateChannel:


+ 2
- 2
commands.py Wyświetl plik

@@ -41,7 +41,7 @@ def cmd_info(client, msg):

@asyncio.coroutine
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)


@@ -301,4 +301,4 @@ commands = {
"qr": cmd_qr,
"np": cmd_np,
"steam": cmd_steam,
}
}

+ 1
- 1
common.py Wyświetl plik

@@ -13,7 +13,7 @@ import json


# bot version
version = "v1.0.4"
version = "v1.0.5"


# TODO: generate this on the fly and make it look acceptable


Ładowanie…
Anuluj
Zapisz