removeTimeout method

Future<void> removeTimeout()

Cancels the exclusion of this

Example :

await member.removeTimeout();

Implementation

Future<void> removeTimeout () async {

  Response response = await ioc.use<HttpService>().patch(url: '/guilds/${guild.id}/members/${user.id}', payload: { 'communication_disabled_until': null });
  if (response.statusCode == 200 || response.statusCode == 204) {
    _timeoutDuration = null;
  }
}