Пример #1
0
 public Task DeleteGuildIntegrationAsync(ulong guild_id, DiscordIntegration integration)
 => ApiClient.DeleteGuildIntegrationAsync(guild_id, integration);
Пример #2
0
 public async Task SyncIntegration(DiscordIntegration integration) => await DiscordClient.InternalSyncGuildIntegration(ID, integration.ID);
Пример #3
0
 public async Task <DiscordIntegration> ModifyIntegration(DiscordIntegration integration, int expire_behaviour, int expire_grace_period, bool enable_emoticons) =>
 await DiscordClient.InternalModifyGuildIntegration(ID, integration.ID, expire_behaviour, expire_grace_period, enable_emoticons);
Пример #4
0
 public async Task DeleteIntegration(DiscordIntegration integration) => await DiscordClient.InternalDeleteGuildIntegration(ID, integration);
Пример #5
0
 public async Task <DiscordIntegration> AttachUserIntegration(DiscordIntegration integration) => await DiscordClient.InternalCreateGuildIntegration(ID, integration.Type, integration.ID);