From 30ac9886d591197d88ea8b6087728901da2e9287 Mon Sep 17 00:00:00 2001 From: Noi Date: Sat, 6 Jul 2024 22:02:39 -0700 Subject: [PATCH] Use autocomplete in server tz config --- ApplicationCommands/ConfigModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCommands/ConfigModule.cs b/ApplicationCommands/ConfigModule.cs index 81c55a1..2c730b0 100644 --- a/ApplicationCommands/ConfigModule.cs +++ b/ApplicationCommands/ConfigModule.cs @@ -193,7 +193,7 @@ public class ConfigModule : BotModuleBase { } [SlashCommand("set-timezone", "Configure the time zone to use by default in the server." + HelpPofxBlankUnset)] - public async Task CmdSetTimezone([Summary(description: HelpOptZone)] string? zone = null) { + public async Task CmdSetTimezone([Summary(description: HelpOptZone), Autocomplete] string? zone = null) { const string Response = ":white_check_mark: The server's time zone has been "; if (zone == null) {