generated from Nemesis/Exemple
verifPM
This commit is contained in:
parent
cb3e923dd8
commit
36dd532219
1 changed files with 1 additions and 1 deletions
|
|
@ -945,7 +945,7 @@ async def verifPMRoom(room, message): # Pour obtenir ou créer un salon pour les
|
||||||
if (room_id and not create):
|
if (room_id and not create):
|
||||||
await bot.async_client.room_invite(room_id=room_id, user_id=sender)
|
await bot.async_client.room_invite(room_id=room_id, user_id=sender)
|
||||||
new_salon = nio.rooms.MatrixRoom(room_id, client_id)
|
new_salon = nio.rooms.MatrixRoom(room_id, client_id)
|
||||||
new_salon.name=bot_nick
|
new_salon.name="Asmodee"
|
||||||
new_salon.topic="Informations d'Asmodee"
|
new_salon.topic="Informations d'Asmodee"
|
||||||
new_salon.is_direct=True
|
new_salon.is_direct=True
|
||||||
return(new_salon)
|
return(new_salon)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue