Give players read perms for their private channel
parent
10fa6f6906
commit
086bd1051e
|
@ -135,9 +135,8 @@ pub async fn add_user_to_game(
|
|||
})
|
||||
.await?;
|
||||
|
||||
let allow = Permissions::SEND_MESSAGES
|
||||
| Permissions::READ_MESSAGE_HISTORY
|
||||
| Permissions::READ_MESSAGE_HISTORY;
|
||||
let allow =
|
||||
Permissions::SEND_MESSAGES | Permissions::READ_MESSAGE_HISTORY | Permissions::READ_MESSAGES;
|
||||
|
||||
let overwrite = PermissionOverwrite {
|
||||
allow,
|
||||
|
|
Loading…
Reference in New Issue