thomasloupe / Slackord

Slackord is an application that allows you to migrate Slack messages into a Discord server.
https://thomasloupe.com
GNU General Public License v3.0
159 stars 22 forks source link

[BUG] Cannot Respond To An Interaction After Three Seconds On PostMessagesToDiscord() #102

Closed thomasloupe closed 6 months ago

thomasloupe commented 6 months ago

Slackord version (please complete the following information):

Describe the bug "Cannot respond to an interaction after three seconds" error when using /slackord command.

To Reproduce Steps to reproduce the behavior:

  1. Select JSON folder and parse (channel or server)
  2. Log in to Discord with Slackord
  3. Type /slackord in any channel
  4. See error, "Cannot defer an interaction after three seconds".

Additional context This error happens due to the following: https://docs.discordnet.dev/faq/int_framework/general.html

Solution: Add the following to the DiscordConfig: UseInteractionSnowflakeDate = false