python-wechaty-getting-started
python-wechaty-getting-started copied to clipboard
Room invitation error
I used the following code with an intention to accept room invitations automatically.
async def on_room_invite(self, room_invitation: RoomInvitation):
try:
await room_invitation.accept()
except Exception as e:
print(repr(e))
print('Room Invitation Accept Error')
However, it raises an Error saying 'token not set'. I am using the Hostie token.