TemmieWebhook icon indicating copy to clipboard operation
TemmieWebhook copied to clipboard

Why does it not recognize builder()?

Open engineswap opened this issue 7 years ago • 7 comments

image It wont show up and Im not sure why, please help.

engineswap avatar Jun 25 '18 05:06 engineswap

image It doesnt recognize these either. Please help.

engineswap avatar Jun 25 '18 05:06 engineswap

for the first one, after I looked at the source code, there was no method: "DiscordMessage.builder()" it looks lilke he might have changed the way that it is used. I would try using "new DiscordMessageBuilder()" to get the builder but you should still see what the repo owner has to say. As for the ThumbnailEmbed... take a look at the class source code: https://github.com/MrPowerGamerBR/TemmieWebhook/blob/master/src/com/mrpowergamerbr/temmiewebhook/embed/ThumbnailEmbed.java I don't recognise the annotation "@AllArgsConstructor" but it suggests to me that you should use a constructor with each parameter being a field in that class ^ (I'd suggest in the same order)

mccormack-harry avatar Jun 25 '18 10:06 mccormack-harry

I took your advice but it did this image But I think the whole thing is broken since when I loaded one of his classes it showed this image

engineswap avatar Jun 26 '18 05:06 engineswap

Do you have a discord server where we could talk directly?

engineswap avatar Jun 26 '18 05:06 engineswap

To me this repo seems to have errors and incomplete code. You should try to get in contact with the repo author

mccormack-harry avatar Jun 26 '18 07:06 mccormack-harry

There hasn't been any updates to this repo for over a month so I'd advise looking at the forks or making a fork yourself. I think the author has abandoned this.

mccormack-harry avatar Jun 26 '18 08:06 mccormack-harry

Because he used a compiler plugin called lombok instead of writing it in standard java.

CanIGetaPR avatar May 02 '20 16:05 CanIGetaPR