Help with Discord integration
HEy guys so i posted a reply on the mystic-ps download thread last night about help with discord webhooks. The people that tried to help on there were trying to point me in the right direction, but sadly everything they have told me i already did... So here I'm going to explain the whole thing is as much detail as possible... So I copied the discord integration files (everything in the ethos.net.discord package) and put it into my server and fix the errors that came with that... I'm stuck on two lines of code that I can't seem to figure out but i have a hunch on what they are for... the first line of code is
Code:
withTitle("Mystic-PS")
and the second line of code is
Code:
withURL("http://Mystic-PS.net/")
both lines are in teh discordmessager.java class... Now this is what i think, I think the withTitle code is just that a title so i can change that to whatever i want. I think the
withURL code has to be a fully working website that can handle web hooks to send to discord if that makes sense... Now what i have done on discord is I made my webhooks and copied the urls. I then pasted them in the discordmessager class where you need to (at the top). so did i do everything
i needed to on discord? or am i missing something? And am i missing something in the coding? also in the webhookclientbuilder class (i think thats what its called) there is a link something like canary.discordapp.com/api/webhooks or something, do i change that link too? any help would be greatly appreciated! thanks in advance!