nullable
This commit is contained in:
@@ -150,8 +150,8 @@ public class LightlessModule : InteractionModuleBase
|
||||
|
||||
[SlashCommand("serviceunban", "ADMIN ONLY: Unban a user by their discord ID or user ID [CHOOSE ONE ONLY]")]
|
||||
public async Task ServiceUnban(
|
||||
[Summary("discord_id", "Discord ID to unban")] string? discordId,
|
||||
[Summary("uid", "UID to unban")] string? uid
|
||||
[Summary("discord_id", "Discord ID to unban")] string? discordId = null,
|
||||
[Summary("uid", "UID to unban")] string? uid = null
|
||||
)
|
||||
{
|
||||
_logger.LogInformation("SlashCommand:{userId}:{Method}:{params}",
|
||||
|
||||
Reference in New Issue
Block a user