Bug: Insider thread creation fails
Closed this issue · 1 comments
Erisa commented
[2024-08-19 21:08:16 +00:00] [Error] Error during invocation of interaction command "announcebuild" by "floatingmilkshake"
System.InvalidOperationException: Threads can only be created within text or news channels.
at DSharpPlus.Entities.DiscordMessage.CreateThreadAsync(String name, DiscordAutoArchiveDuration archiveAfter, String reason)
at Cliptok.Commands.InteractionCommands.AnnouncementInteractions.AnnounceBuildSlashCommand(InteractionContext ctx, Int64 windowsVersion, String buildNumber, String blogLink, String insiderChannel1, String insiderChannel2, Boolean canaryCreateNewThread, DiscordChannel threadChannel, String flavourText, String autothreadName, String lockdownTime) in /app/Commands/InteractionCommands/AnnouncementInteractions.cs:line 218
at DSharpPlus.SlashCommands.SlashCommandsExtension.RunCommandAsync(BaseContext context, MethodInfo method, IEnumerable`1 args)
at DSharpPlus.SlashCommands.SlashCommandsExtension.<>c__DisplayClass53_0.<<InteractionHandler>b__0>d.MoveNext()
https://discord.com/channels/150662382874525696/968463420586336286/1275199684679565466
Erisa commented
Temp fixed in 1b1f808 and d092f25
Caused by DSharpPlus/DSharpPlus@1d54d42
Full fix will be a resolution of DSharpPlus/DSharpPlus#2060