Give players read perms for their private channel

msg_refactor
Joey Hines 2022-03-06 13:25:18 -07:00
parent 10fa6f6906
commit 086bd1051e
No known key found for this signature in database
GPG Key ID: 80F567B5C968F91B
1 changed files with 2 additions and 3 deletions

View File

@ -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,