delete method

Future<bool> delete()

Delete this

await guild.delete();

Implementation

Future<bool> delete () async {
  Response response = await ioc.use<DiscordApiHttpService>()
    .destroy(url: '/guilds/$id')
    .build();

  return response.statusCode == 200;
}