darkalfx / requestrr

Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation for new features as well as new platforms.
MIT License
875 stars 101 forks source link

Bot not showing any prompts for slash commands in Discord #138

Open DeathGambit opened 2 years ago

DeathGambit commented 2 years ago

Requestrr Image: darkalfx/requestrr Version: 2.1.1

What's happening?

Logdump:

Hosting environment: Production
Content root path: /root
Now listening on: http://[::]:4545
Application started. Press Ctrl+C to shut down.
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
      Bot has been restarted.
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
      Bot configuration changed: restarting bot
[2021-12-20 15:48:35 +05:30] [0   /            ] [Crit ] There was an error registering application commands: Invalid Form Body
DSharpPlus.Exceptions.BadRequestException: Bad request: 400
   at DSharpPlus.Net.DiscordApiClient.BulkOverwriteGuildApplicationCommandsAsync(UInt64 application_id, UInt64 guild_id, IEnumerable`1 commands)
   at DSharpPlus.SlashCommands.SlashCommandsExtension.<>c__DisplayClass38_0.<<RegisterCommands>b__0>d.MoveNext()
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
      Bot has been restarted.

Edit 1: mentioned how bot was added to the server

Ronniie commented 2 years ago

Hi! Any updates on this? Receiving this issue as well.

Victor-josso commented 2 years ago

same here !

kalinon commented 2 years ago

I encountered this issue as well. I think it happens when you have categories with the same name under both movies and tv shows.

Aka if you have a category anime underneath both, it breaks. You need to have different names, such as: anime-series and anime-movie.