diff --git a/src/helper.rs b/src/helper.rs index 18192de..0afa03a 100644 --- a/src/helper.rs +++ b/src/helper.rs @@ -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,