Update bot.py
This commit is contained in:
parent
e40482f1ef
commit
8b845944af
1 changed files with 2 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -275,7 +275,7 @@ intents = discord.Intents.default()
|
|||
|
||||
intents.messages = True
|
||||
intents.message_content = True
|
||||
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
|
||||
bot = commands.Bot(command_prefix=PREFIX, intents=intents, allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=False, replied_user=True))
|
||||
memory = load_memory()
|
||||
markov_model = load_markov_model()
|
||||
if not markov_model:
|
||||
|
@ -607,4 +607,4 @@ def improve_sentence_coherence(sentence):
|
|||
sentence = sentence.replace(" i ", " I ")
|
||||
return sentence
|
||||
|
||||
bot.run(TOKEN)
|
||||
bot.run(TOKEN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue