delete method

Future<bool> delete()

Delete this

Example :

  await rule.delete();

Implementation

Future<bool> delete() async {
  Response response = await ioc.use<HttpService>().destroy(url: "/guilds/$guildId/auto-moderation/rules/$id");

  return response.statusCode == 204;
}