[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Hello lads Do you any of you have experience using the Discord

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 2

File: chromopepe.jpg (29KB, 600x482px) Image search: [Google]
chromopepe.jpg
29KB, 600x482px
Hello lads

Do you any of you have experience using the Discord API? I want to write a shell script that displays to me new messages I haven't yet read from my server

But I can't navigate the API docs at all

How do I get a key and how can I start using it?
>>
File: where he go.png (69KB, 300x300px)
where he go.png
69KB, 300x300px
pls lads
>>
>>59786577
just popping in, but what language are you after? Sounds like shell?

also where you outputting that discord API-input?
>>
>>59786577
FYI they seem to have a bot written in GO. Just have the bot do a pipe or a curl out to whatever you need. Seems like a fun way to hack together what you need. Not seeing an API though.

https://github.com/hammerandchisel/airhornbot
>>
>>59786577
Get an api key from the discord api page and then get a library that implements the API. They're all hosted on GitHub.
>>
>>59786577
The command line tool you are looking for is called curl
You are welcome.
Thread posts: 6
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.