public static async Task RemoveRoleAsync(SocketGuildUser user, SocketRole role) { await user.RemoveRoleAsync(role).ConfigureAwait(true); AuditLog.AddLog($"Removed {role.Name} from {user.Username}#{user.Discriminator}"); }
public static async Task AssignRoleAsync(SocketGuildUser user, SocketRole role) { await user.AddRoleAsync(role).ConfigureAwait(true); AuditLog.AddLog($"Assigned {role.Name} to {user.Username}#{user.Discriminator}"); }