delete method

  1. @override
Future<void> delete({
  1. String? reason,
})

Delete this

Implementation

@override
Future<void> delete ({ String? reason }) async {
  await ioc.use<DiscordApiHttpService>()
    .destroy(url: '/channels/${channel.id}/messages/$id')
    .auditLog(reason)
    .build();
}