python-wechaty-getting-started icon indicating copy to clipboard operation
python-wechaty-getting-started copied to clipboard

Room invitation error

Open profthecopyright opened this issue 4 years ago • 0 comments

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.

profthecopyright avatar Dec 08 '20 09:12 profthecopyright