Bishbash777 / SEDB-RELOADED

MIT License
8 stars 13 forks source link

Chat from Discord to in game chat is blank in game and within console (to [Null]): #48

Closed Drakcore closed 1 year ago

Drakcore commented 1 year ago

Messages from discord to SE just end up being blank (just the username appears) In the Torch console you see the same results but instead of the blank text you get (to [Null]} Text from with SE goes smoothly to the Discord channel and people who reply to that message have their message replicated to the SE chat as if they only taking and not directed at someone.

Attached image is of 3 chats, first being form SE to Discord, second a reply to that bot replicated message in discord and the last example is a direct message from discord to SE. discord to SE

Here is the config minus the bot token. `

true true false false false lehbottoken 1018309476505354270 [THANATOS]: **{p}**: {msg} [D]{p} ;; false false false false Server 1018335009448398918 :white_check_mark: Server Started! :x: Server Stopped! :arrows_counterclockwise: Server Go To Restart! false :key: The player {p} connected to server :sunny: The player {p} joined the server :new_moon: The player {p} left the server true 1018335009448398918 0.5 @here Simulation speed has dropped below threshold! 1200 true 5000 Server Starting... {p} players | SS {ss} true false Visible 30 White Green :ledger: **{p}**: {msg} [D-Fac]{p}

`

stiderspace commented 1 year ago

Having the same problem any messages send normally won’t go through.

Replying to a message from the server does work, but any other message from discord just shows a blank message in the server

Drakcore commented 1 year ago

Having the same problem any messages send normally won’t go through.

Replying to a message from the server does work, but any other message from discord just shows a blank message in the server

Figured it out when I looked at the other issue. It is just a permission issue and options for the bot. Just check the following if they are enabled for the bot. Make sure "MESSAGE CONTENT INTENT" is enabled. Don't think "PRESENCE INTENT" is needed but I also enabled it for good measure, after which direct text in that chat and not just replies gets replicated now back to the in game chat.

image

Drakcore commented 1 year ago

@stiderspace Give it a try yourself and then close the ticket with a comment/response.

IBlackjk commented 1 year ago

I have had the same Problem. Enabling this stuff did the Trrick now it works thanks!

stiderspace commented 1 year ago

@Drakcore Yep that did the trick thanks for the explaination

Drakcore commented 1 year ago

Closing.