Losing chat connection after user initiates chatSolved
Hello - encountering bug after a player uses /calladmin.

Recreate:
  1. User types /calladmin
  2. Message opens in Discord as expected
  3. Authorized Discord user responds, but nothing is sent to user in-game and no green check-mark shown in Discord
  4. Admin must reload the plugin (or DiscordCore)
  5. Authorized Discord user responds and all works as expected
This happens for any new message sent using /calladmin

What version of Discord Extension and Discord Core are you using?
Running latest versions: Discord Ext v1.0.6 and Discord Core v0.15.5

Merged post

I was just doing a test with /calladmin and noticed this in my RCON
(13:55:19) | [Discord Core] Channel not found in guild: 727220677731418142

Once I restarted the DiscordCallAdmin it worked. My guess is the new channel opened isn't recognized by Discord Core until reload.

Do you have any other channels non-related to the plugin in the Category?

Merged post

Nevermind it's not the same error, I'm trying to reproduce your issue
Hey @evlad, let me know if you need my help to help you reproduce the issue
Yeah i have to reload the plugin for it to work !
I'm experiencing this issue as well.

[Discord Core] Channel not found in guild: 745524151548379137​


I'm using Discord Extensions v1.0.6 and Discord Core v0.16.1.

I talked to MJSU and he found the solution for this problem.

He said this:

"So I looked into the issue. The problem is that DiscordCallAdmin is getting the channel back before Discord Core receives the update that a new channel was created. The DiscordCallAdmin author should instead listen for the `void Discord_ChannelCreate(Channel channel)` hook and then have DiscordCore subscribe to the channel to guarantee that it's there before the subscription occurs."

Makes sense!

so we just need the author to fix this ?

Tell me if the latest update fixes your issue
evlad
Tell me if the latest update fixes your issue

I'm still having the an issue with the latest version - User has not conencted closing chat in 5 seconds

I'm no longer using this plugin so will be unable to test, sorry. But someone should follow my steps above to see if the issue is resolved. Good luck!
After an initial round of basic testing the latest update (v0.2.2) appears to have resolved the issue. Again, this is only initial testing in a small and controlled group but... so far so good. :)

Much thanks.
Just an update, this problems has not been solved yet. i still have this bug and have to delete the channel created and hope the user does /calladmin again
Locked automatically