Initialize botbotbot-py project with basic structure and configuration
This commit is contained in:
parent
5c77a47383
commit
39da454b2a
7 changed files with 238 additions and 12 deletions
|
@ -28,7 +28,7 @@ Ta réponse doit être une seule phrase.
|
|||
TA RÉPONSE DOIT ÊTRE EN FRANÇAIS !!!"""
|
||||
aibot = AIBot(
|
||||
config.get("mistral_api_key"),
|
||||
model="open-mixtral-8x22b",
|
||||
model="mistral-large-latest",
|
||||
system_message=system_prompt,
|
||||
)
|
||||
|
||||
|
@ -191,7 +191,7 @@ async def shuffle_nicks(guild):
|
|||
|
||||
random.shuffle(nicks)
|
||||
for member, nick in zip(members, nicks):
|
||||
logger.info(member, nick)
|
||||
logger.info(f"{member} {nick}")
|
||||
await member.edit(nick=nick)
|
||||
logger.info("Shuffle done")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue