Added additional Discord presence changes

master
blackfur 2021-01-22 19:00:43 +01:00
parent 50c2d503de
commit 00516b3c25
1 changed files with 3 additions and 1 deletions

4
run.py
View File

@ -25,7 +25,7 @@ def printhelp():
def printversion():
print("SheepBotFrame Beta 1.41")
print("SheepBotFrame Beta 1.43")
def remove_mention(m, s, i):
@ -51,6 +51,7 @@ async def download():
async def train():
await bot.change_presence(activity=discord.Game(name=" training, training and training..."))
corpustrainer = ChatterBotCorpusTrainer(chatbot)
listtrainer = ListTrainer(chatbot)
for corpus in config["corpus"]:
@ -63,6 +64,7 @@ async def train():
@bot.event
async def on_ready():
await bot.change_presence(activity=discord.Game(name=" listening for messages!"))
global chatbot
print("Logged in!")
args = sys.argv