botkit icon indicating copy to clipboard operation
botkit copied to clipboard

Discord compatibility

Open arcanis opened this issue 10 years ago • 26 comments

Hi, is there any plan to support more providers, such as Discord ? The work here is formidable, it would be super-great to be able to write the same code for every chat platform.

arcanis avatar Jun 22 '16 21:06 arcanis

Good call!

anonrig avatar Jun 23 '16 20:06 anonrig

I'd love for this to be a thing, :+1: ! I use Discord every day.

takouhai avatar Jun 30 '16 20:06 takouhai

We'd love to see any PRs! If anyone is working on something and needs a little help feel free to post here or on dev4slack!

peterswimm avatar Jun 30 '16 21:06 peterswimm

I am thinking of doing this. One question: where is the documentation on the message object format that this uses?

legodude17 avatar Dec 12 '16 17:12 legodude17

I believe this is what a message object looks like in the API, @legodude17 .

{
    "id": "162701077035089920",
    "channel_id": "131391742183342080",
    "author": {},
    "content": "Hey guys!",
    "timestamp": "2016-03-24T23:15:59.605000+00:00",
    "edited_timestamp": null,
    "tts": false,
    "mention_everyone": false,
    "mentions": [],
    "mention_roles": [],
    "attachments": [],
    "embeds": [],
    "reactions": []
}

source: https://discordapp.com/developers/docs/resources/channel#message-object

takouhai avatar Dec 13 '16 21:12 takouhai

@thattacoguy, sorry for the confusion, but I meant what does botkit use internally? Is it the same as what discord uses?

legodude17 avatar Dec 13 '16 23:12 legodude17

Hi has there been any updates on botkit getting discord capable?

TheJimFactor avatar Sep 20 '17 19:09 TheJimFactor

We haven't been working on it internally at Howdy, but we do get more requests for this than just about any other unsupported platforms.

peterswimm avatar Sep 20 '17 20:09 peterswimm

I see no support for discord yet. Is there a fork of this that supports discord?

msg768 avatar Nov 24 '17 05:11 msg768

It would be great to have a support for Discord! There is a very simple library to make a Discord bot: https://github.com/izy521/discord.io I was wondering how it could be connected to BotKit to benefit from the great feature set of BotKit - like conversations. Any pointers on how to support a new chat system in BotKit? I'm not a Javascript expert, but hopefully it would not be too hard. Thanks!

YannZeRookie avatar Nov 26 '17 22:11 YannZeRookie

@YannZeRookie I would take a look at the facebook integration, it contains comments that can help you along in the process. The Botkit team is interested in Discord, but are still looking for a compelling reason to make it a priority.

peterswimm avatar Nov 27 '17 16:11 peterswimm

Thanks @peterswimm , I'll look at it. In terms of "compelling reason" to think about, Discord has over 45 millions of users, and lots of bots (I found a list with 800 of them). :-)

YannDoW avatar Nov 27 '17 20:11 YannDoW

Where can we see this bot list? I saw the official one, but would be interested in seeing any other resources.

peterswimm avatar Nov 28 '17 13:11 peterswimm

This one lists 800 of them: https://bots.discord.pw/ Interestingly, it lists how many servers use each bot and on which library each is based.

This other (non official) list is better designed in terms of search engine, but it does not say how many of them are in there: https://discordbots.org/

YannDoW avatar Nov 28 '17 22:11 YannDoW

Interesting! Thank you!

peterswimm avatar Nov 29 '17 01:11 peterswimm

A user has started working on this and requested help over on stack https://stackoverflow.com/questions/47957759/adapting-botkit-to-discord

peterswimm avatar Dec 27 '17 15:12 peterswimm

Is anyone still working on this or should I take it?

MatejMecka avatar Jan 21 '18 09:01 MatejMecka

@MatejMecka go for it!

peterswimm avatar Feb 23 '18 20:02 peterswimm

Hello! Is anyone working on this? I'm interested in helping or starting it.

Tommytrg avatar Mar 05 '18 15:03 Tommytrg

@Tommytrg Sure. I started doing some work but if you want you can join me or start from scratch.

MatejMecka avatar Mar 05 '18 16:03 MatejMecka