Suggestions

Back

SkCord



MiniRascal MiniRascal: about 1 year ago

Since cubed doesn't wanna host discord bots, this addon is really great for Minecraft -> discord if we ever wanna announce in-game events in the discord server e.g purchases, boosts, events etc.
https://forums.skunity.com/resources/skcord.1676/


4
0

Comments

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

You can also send a web request to an API which does this for you

zNotChill zNotChill: about 1 year ago

but you cant do post requests

zNotChill zNotChill: about 1 year ago

you'll need to use a 3rd party get api

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

You don't really need post equests tho

zNotChill zNotChill: about 1 year ago

for sending messages you do

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

Oh you meant it like that, yeah just use 3rd party api

zNotChill zNotChill: about 1 year ago

yes its so stupid, i made something similar - you send a get request with all the data then it POSTs the webhook

zNotCerq zNotCerq: about 1 year ago

most backend devs 100% love writing useless api endpoints just to forward get requests to post requests

zNotCerq zNotCerq: about 1 year ago

i should make another api that forwards get to post requests... and has discord webhook functionality!!!

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

I was going to make a counter argument to what you just said, which would be a valid argument. But while writing it I realized that its better that this gets added

zNotChill zNotChill: about 1 year ago

yeah but then you can never trust a 3rd party especially if you're giving them a token

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

I assume the third party is yourself, and imo, a discord bot token like that isn't really that important. It's not like the bots will influence tens of thousands of guilds

zNotChill zNotChill: about 1 year ago

the third party is most likely yourself, but even if the token wasnt important would you still want to give it to a 3rd party?

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

Depends on the scale of the bot

zNotChill zNotChill: about 1 year ago

true, but making a full GET/POST api for a discord bot is time consuming and probably not worth it when plugins already exist for it

Jeroeno_Boy Jeroeno_Boy: about 1 year ago

I know, but then we can also agrue about the use for skript if you want to do more complicated things like that, but thats not for this thread

MiniRascal MiniRascal: about 1 year ago

how do i do that

Supercrafter100 Supercrafter100: about 1 year ago

This should now also be possible by using reqn and manually constructing the body of the request. Seeing as post requests are now possible.

MiniRascal MiniRascal: about 1 year ago

yay!

Search Keyword


Suggestion

Views
873
Likes
4
Dislikes
0
Category
Network
Status
Closed