lilserf / bot-on-the-clocktower

Bot to assist with playing Blood on the Clocktower via Discord
MIT License
22 stars 4 forks source link

certain storytellers cant use the bot even with admin permissions on server and storyteller role #173

Open euphemmius opened 1 year ago

euphemmius commented 1 year ago

Interaction error [Guild: 1004129946790269079 Channel: 1128364982833262612] Exception: BadRequestException Message: Bad request: 400 : Invalid Form Body Stack trace: at Bot.Core.Interaction.BaseInteractionErrorHandler1.TryProcessReportingErrorsAsync(TKey key, IMember requester, Func2 process) in /home/runner/work/bot-on-the-clocktower/bot-on-the-clocktower/Bot.Core/Interaction/BaseInteractionErrorHandler.cs:line 68

magroader commented 1 year ago

That's odd, the 400 error makes it seem like we are sending Discord some bad input, which I haven't seen before. It's possible Discord changed their API and we may need to update our libraries to use whatever the new thing is.

Do you know what commands were attempted? You say it only happened with certain Storytellers? Was there any rhyme or reason to what Storytellers it worked for and which it didn't?

euphemmius commented 1 year ago

So when people have the storyteller role it wa stone before and then just stopped working for them and if you had admin permission it would let you do it. However I believe when we last played last week it didn’t let me use it when I had admin but then did. If you want I can find more of the error codes for the people it didn’t work for.

Commands tried were /game /day /night

Sent from my iPhone

On 5 Sep 2023, at 14:13, Colin C. @.***> wrote:



That's odd, the 400 error makes it seem like we are sending Discord some bad input, which I haven't seen before. It's possible Discord changed their API and we may need to update our libraries to use whatever the new thing is.

Do you know what commands were attempted? You say it only happened with certain Storytellers? Was there any rhyme or reason to what Storytellers it worked for and which it didn't?

— Reply to this email directly, view it on GitHubhttps://github.com/lilserf/bot-on-the-clocktower/issues/173#issuecomment-1706596861, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCKLYW26SXWLY4AVAEASJNLXY4QPHANCNFSM6AAAAAA4JQSGEA. You are receiving this because you authored the thread.Message ID: @.***>