Struct dasi::EditServer [] [src]

pub struct EditServer(_);

Patch content for the edit_server call.

Methods

impl EditServer

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.