BONNePlayground / VaultHuntersDiscordIntegrator

Eclipse Public License 2.0
4 stars 3 forks source link

Not getting the embeds with sharing vault tools #1

Closed Xverion closed 1 year ago

Xverion commented 1 year ago

Expected behavior

As stated above it's not showing the vault tools in a embed. It just says xxx: [vault sword]

Observed/Actual behavior

It showing people entering vaults in chat

Steps/models to reproduce

install both mc2discord and latest vh

VaultHunters version

latest vh version - 3.8.0-2176 latest mc2discord version - 3.3.0

Other

No response

BONNe commented 1 year ago

What version of this mod do you use?

Xverion commented 1 year ago

Sorry, should have included it but it was 1.1.1.

BONNe commented 1 year ago

Hmm, I am using it and it is working fine. Does your m2discord channel config contain chat messages?

Also, do you have any errors in the logs/latest.log when you share item in chat?

Xverion commented 1 year ago

nothing in latest log or debug log

and channel config looks like this

[[Channels.Channel]] id = 123456789 subscriptions = ["info", "chat", "command"] mode = "WEBHOOK"

BONNe commented 1 year ago

nothing in latest log or debug log

and channel config looks like this

[[Channels.Channel]] id = 123456789 subscriptions = ["info", "chat", "command"] mode = "WEBHOOK"

Have you edited any message layout in [style] section?

Xverion commented 1 year ago

Nothing at all. Everything is default apart from the ID's

BONNe commented 1 year ago

Do you have any extra mods, or non-default VH modpack configs?

Xverion commented 1 year ago

we added starlight - lightning improvements and lazy dfu

configs are the same

BONNe commented 1 year ago

Sorry for the late response. I did not have time to test this.

I set up the new server with this mc2discord channel configs:

    [[Channels.Channel]]
        id = 1
        subscriptions = ["info", "chat"]
        mode = "WEBHOOK"

    [[Channels.Channel]]
        id = 2
        subscriptions = ["info", "chat"]
        mode = "PLAIN_TEXT"

    [[Channels.Channel]]
        id = 3
        subscriptions = ["info", "chat"]
        mode = "EMBED"

Then I started up the server and pasted the sword in-game. I receive these 3 messages: WEBHOOK: webhok PLAIN_TEXT: plain EMBED embed

If you enable embed style, does it is displayed properly in Discord chat like this? embed_message

If not then maybe your bot/channel has no option to create embeds.

Xverion commented 1 year ago

Apologies for the long delay on this. We found out that it was indeed a other mod causing the issues. FTBRanks to be specific.

Xverion commented 1 year ago

Let me know if you need anything else. I'll test as much as possible