Unable to get user details
My bot lacks permissions to
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
```python
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
```
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
```python
user = await self._users.get_user_detail(context.affected_user_id)
```
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
```python
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
```
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
```python
user = await self._users.get_user_detail(context.affected_user_id)
```
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
#bot
#bdk
#python
My bot lacks permissions to
My bot lacks permissions to
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
```python
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
```
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
```python
user = await self._users.get_user_detail(context.affected_user_id)
```
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
user = await self._users.get_user_detail(context.affected_user_id)
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
#bot
#bdk
#python
My bot lacks permissions to
My bot lacks permissions to
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
user = await self._users.get_user_detail(context.affected_user_id)
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
user = await self._users.get_user_detail(context.affected_user_id)
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?
#question
My bot lacks permissions to
I'm implementing a UserJoinedRoomContext watcher in my bot. The code gets called
async def on_activity(self, context: UserJoinedRoomContext):
user = await self._users.get_user_detail(context.affected_user_id)
message = 'Welcome'
await self._messages.send_message(context.source_event.stream.stream_id, self.template.render(message=message))
but I receive a permission exception "User does not have the proper privilege to perform this action." in this line:
user = await self._users.get_user_detail(context.affected_user_id)
I'm pretty sure the bot has all the permissions it needs. Is there something special I need to look for?