Add a way to create channels.

This commit is contained in:
Paul Makles
2020-04-11 18:59:38 +01:00
parent 537f07b4a9
commit 1a41a68ee6
4 changed files with 72 additions and 16 deletions

View File

@@ -15,7 +15,6 @@ pub struct GuildRef {
pub description: String,
pub owner: String,
pub channels: Vec<String>,
pub bans: Vec<Ban>,
pub default_permissions: i32,
@@ -30,7 +29,6 @@ impl GuildRef {
"name": 1,
"description": 1,
"owner": 1,
"channels": 1,
"bans": 1,
"default_permissions": 1
})