Function serenity::http::ban_luna[][src]

pub fn ban_luna(
    guild_id: u64,
    delete_message_days: u8,
    reason: &str
) -> Result<()>

Ban luna from a Guild, removing her messages sent in the last X number of days.

Passing a delete_message_days of 0 is equivalent to not removing any messages. Up to 7 days' worth of messages may be deleted.

Note: Requires that you have the Ban Members permission.