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