namespace RegexBot; partial class RegexbotClient { /// /// Sets a timeout on a user while also adding an entry to the moderation log and attempting to notify the user. /// /// The guild which the target user is associated. /// /// The the entity which issued this log item. /// If it was a user, this value preferably is in the format. /// /// The user to be issued a timeout. /// The duration of the timeout. /// Reason for the action. Sent to the Audit Log and user (if specified). /// Specify whether to send a direct message to the target user informing them of the action. public Task SetTimeoutAsync(SocketGuild guild, string source, SocketGuildUser target, TimeSpan duration, string? reason, bool sendNotificationDM) => _svcCommonFunctions.SetTimeoutAsync(guild, source, target, duration, reason, sendNotificationDM); }