Merge branch 'main' into livekit

This commit is contained in:
Zomatree committed 2025-04-29 15:47:16 +01:00
commit d830fb0911
3 files changed
+1500 -2164

No files matched your search

Generated
+1486 -2164
View File
File diff suppressed because it is too large. Load diff
@@ -98,6 +98,12 @@ pub enum ChannelPermission {
/// Mention roles
MentionRoles = 1 << 38,
// * Channel permissions two electric boogaloo
/// Mention everyone and online members
MentionEveryone = 1 << 37,
/// Mention roles
MentionRoles = 1 << 38,
// * Misc. permissions
// % Bits 38 to 52: free area
// % Bits 53 to 64: do not use
+8
View File
@@ -91,6 +91,14 @@ pub async fn web() -> Rocket<Build> {
)
.into();
let swagger_0_8 = revolt_rocket_okapi::swagger_ui::make_swagger_ui(
&revolt_rocket_okapi::swagger_ui::SwaggerUIConfig {
url: "/0.8/openapi.json".to_owned(),
..Default::default()
},
)
.into();
// Voice handler
let voice_client = VoiceClient::new(config.api.livekit.nodes.clone());
// Configure Rabbit