1
0
Fork 0
forked from gorb/backend

feat: implement is_above for roles and reuse same functions from channels!

This commit is contained in:
Radical 2025-05-27 11:16:33 +00:00
parent 39d01bb0d0
commit 1aa38631b8
8 changed files with 81 additions and 41 deletions

View file

@ -14,7 +14,6 @@ use crate::{
#[derive(Deserialize)]
struct GuildInfo {
name: String,
description: Option<String>,
}
pub fn web() -> Scope {
@ -41,7 +40,6 @@ pub async fn create(
let guild = Guild::new(
&mut conn,
guild_info.name.clone(),
guild_info.description.clone(),
uuid,
)
.await?;