Added additional Discord presence changes
This commit is contained in:
parent
774ff20dc8
commit
5db30f80a7
4
run.py
4
run.py
|
@ -25,7 +25,7 @@ def printhelp():
|
||||||
|
|
||||||
|
|
||||||
def printversion():
|
def printversion():
|
||||||
print("SheepBotFrame Beta 1.41")
|
print("SheepBotFrame Beta 1.43")
|
||||||
|
|
||||||
|
|
||||||
def remove_mention(m, s, i):
|
def remove_mention(m, s, i):
|
||||||
|
@ -51,6 +51,7 @@ async def download():
|
||||||
|
|
||||||
|
|
||||||
async def train():
|
async def train():
|
||||||
|
await bot.change_presence(activity=discord.Game(name=" training, training and training..."))
|
||||||
corpustrainer = ChatterBotCorpusTrainer(chatbot)
|
corpustrainer = ChatterBotCorpusTrainer(chatbot)
|
||||||
listtrainer = ListTrainer(chatbot)
|
listtrainer = ListTrainer(chatbot)
|
||||||
for corpus in config["corpus"]:
|
for corpus in config["corpus"]:
|
||||||
|
@ -63,6 +64,7 @@ async def train():
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
|
await bot.change_presence(activity=discord.Game(name=" listening for messages!"))
|
||||||
global chatbot
|
global chatbot
|
||||||
print("Logged in!")
|
print("Logged in!")
|
||||||
args = sys.argv
|
args = sys.argv
|
||||||
|
|
Loading…
Reference in a new issue