make fields on GuildCreateSchema pub
This commit is contained in:
parent
8f8bd641c4
commit
48cd701fbe
|
@ -290,13 +290,13 @@ impl MessageSendSchema {
|
|||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub struct GuildCreateSchema {
|
||||
name: Option<String>,
|
||||
region: Option<String>,
|
||||
icon: Option<String>,
|
||||
channels: Option<Vec<Channel>>,
|
||||
guild_template_code: Option<String>,
|
||||
system_channel_id: Option<String>,
|
||||
rules_channel_id: Option<String>,
|
||||
pub name: Option<String>,
|
||||
pub region: Option<String>,
|
||||
pub icon: Option<String>,
|
||||
pub channels: Option<Vec<Channel>>,
|
||||
pub guild_template_code: Option<String>,
|
||||
pub system_channel_id: Option<String>,
|
||||
pub rules_channel_id: Option<String>,
|
||||
}
|
||||
|
||||
// I know that some of these tests are... really really basic and unneccessary, but sometimes, I
|
||||
|
|
Loading…
Reference in New Issue