MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 41 forks source link

coding issues #178

Closed JoshuaStutzman closed 5 years ago

JoshuaStutzman commented 5 years ago

Base informations

Minecraft version: 1.7.10 DiscordIntegration version: 3.0.5 Server type and version: Forge/Spigot/Sponge1 1.7.10-Forge10.13.4.1614-1.7.10 Link to pastebin with (censored) config: Optional

Expected behavior

copy and paste the channel link.

Actual behavior

i can copy it in but then it says it is a bad string on line two of the code i'll paste below.

Steps to reproduce

"channels": { {"571012643515662342": } }
},

Mijago commented 5 years ago

Your example is not valid JSON. Try something line this: "channels": { "571012643515662342": { } },

JoshuaStutzman commented 5 years ago

I think i got it now. i had the {} on the wrong side, i solved that right before you responded. Thanks. I have fixed this but the bot does not even come online in discord when i start the server or chat is minecraft. Do you have a fix for this?

jusvit commented 5 years ago

I think i got it now. i had the {} on the wrong side, i solved that right before you responded. Thanks. I have fixed this but the bot does not even come online in discord when i start the server or chat is minecraft. Do you have a fix for this?

Have you ensured your token is correct? https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord