Struct discord::EditServer 
                   
                       [−]
                   
               [src]
pub struct EditServer(_);
Patch content for the edit_server call.
Methods
impl EditServer[src]
fn name(self, name: &str) -> Self
Edit the server's name.
fn region(self, region: &str) -> Self
Edit the server's voice region.
fn icon(self, icon: Option<&str>) -> Self
Edit the server's icon. Use None to remove the icon.
fn afk_channel(self, channel: Option<ChannelId>) -> Self
Edit the server's AFK channel. Use None to select no AFK channel.
fn afk_timeout(self, timeout: u64) -> Self
Edit the server's AFK timeout.
fn owner(self, owner: UserId) -> Self
Transfer ownership of the server to a new owner.
fn verification_level(self, verification_level: VerificationLevel) -> Self
Edit the verification level of the server.
fn splash(self, splash: Option<&str>) -> Self
Edit the server's splash. Use None to remove the splash.