You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Commands/AnnouncementCmds.cs
+10-2
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ public async Task AnnounceBuildSlashCommand(SlashCommandContext ctx,
26
26
[Parameter("flavour_text"),Description("Extra text appended on the end of the main line, replacing :WindowsInsider: or :Windows10:")]stringflavourText="",
27
27
[Parameter("autothread_name"),Description("If no thread is given, create a thread with this name.")]stringautothreadName="Build {0} ({1})",
28
28
29
-
[Parameter("lockdown"),Description("Set 0 to not lock. Lock the channel for a certain period of time after announcing the build.")]stringlockdownTime="auto"
30
-
)
29
+
[Parameter("lockdown"),Description("Set 0 to not lock. Lock the channel for a certain period of time after announcing the build.")]stringlockdownTime="auto",
30
+
[Parameter("force_reannounce"),Description("Whether to ignore the check for duplicate announcements and send this one anyway.")]boolforceReannounce=false)
awaitctx.RespondAsync($"{Program.cfgjson.Emoji.Error} Build {buildNumber} has already been announced! If you are sure you want to announce it again, set `force_reannounce` to True.",ephemeral:true);
0 commit comments