leave method

Future<void> leave()

Leaves the guild.

Implementation

Future<void> leave() async =>
    client.httpEndpoints.leaveGuild(this.id);