Set dragon bot's status to show the help command
This commit is contained in:
parent
b30a6e7f56
commit
bb32a5769a
@ -1,6 +1,6 @@
|
|||||||
FROM python:3.6.2-slim
|
FROM python:3.6.2-slim
|
||||||
LABEL name="Dragon Bot Test environment"
|
LABEL name="Dragon Bot Test environment"
|
||||||
RUN apt-get update && apt-get install curl -y &&\
|
RUN apt-get update && apt-get install curl vim -y &&\
|
||||||
curl -Lks get.docker.com | bash
|
curl -Lks get.docker.com | bash
|
||||||
|
|
||||||
RUN pip install requests discord.py docker pybooru pylint
|
RUN pip install requests discord.py docker pybooru pylint
|
||||||
|
@ -25,6 +25,8 @@ async def on_ready():
|
|||||||
print("\nDRAGON BOT RUNNING IN {} MODE".format(dragon_environment.upper()))
|
print("\nDRAGON BOT RUNNING IN {} MODE".format(dragon_environment.upper()))
|
||||||
print("\n********************************")
|
print("\n********************************")
|
||||||
|
|
||||||
|
await client.change_presence(game=discord.Game(name='Type !help to see how to use me'))
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print("\nPress control+c to exit the bot")
|
print("\nPress control+c to exit the bot")
|
||||||
print("Followed by control+d or by typing")
|
print("Followed by control+d or by typing")
|
||||||
@ -120,7 +122,6 @@ async def on_message(message):
|
|||||||
'my.mixtape.moe',
|
'my.mixtape.moe',
|
||||||
'i.imgur.com',
|
'i.imgur.com',
|
||||||
'i.redd.it',
|
'i.redd.it',
|
||||||
'imgur.com',
|
|
||||||
]
|
]
|
||||||
response = requests.get(
|
response = requests.get(
|
||||||
"https://reddit.com/r/{}.json?limit=500".format(random.choice(boards)),
|
"https://reddit.com/r/{}.json?limit=500".format(random.choice(boards)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user