mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21:54:36 +00:00
Use autocomplete in server tz config
This commit is contained in:
parent
1d1f8e2e43
commit
30ac9886d5
1 changed files with 1 additions and 1 deletions
|
@ -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<TzAutocompleteHandler>] string? zone = null) {
|
||||
const string Response = ":white_check_mark: The server's time zone has been ";
|
||||
|
||||
if (zone == null) {
|
||||
|
|
Loading…
Reference in a new issue