howdyai / botkit

Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
MIT License
11.48k stars 2.28k forks source link

Discord compatibility #295

Closed arcanis closed 3 years ago

arcanis commented 8 years ago

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.

anonrig commented 8 years ago

Good call!

takouhai commented 8 years ago

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

peterswimm commented 8 years ago

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!

legodude17 commented 7 years ago

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

takouhai commented 7 years ago

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

legodude17 commented 7 years ago

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

TheJimFactor commented 7 years ago

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

peterswimm commented 7 years ago

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.

msg768 commented 6 years ago

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

YannZeRookie commented 6 years ago

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!

peterswimm commented 6 years ago

@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.

YannDoW commented 6 years ago

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). :-)

peterswimm commented 6 years ago

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

YannDoW commented 6 years ago

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/

peterswimm commented 6 years ago

Interesting! Thank you!

peterswimm commented 6 years ago

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

MatejMecka commented 6 years ago

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

peterswimm commented 6 years ago

@MatejMecka go for it!

Tommytrg commented 6 years ago

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

MatejMecka commented 6 years ago

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

Tommytrg commented 6 years ago

@MatejMecka I have not found your code so I will start from scratch. On the other hand, which node version should I use?

YannDoW commented 6 years ago

@Tommytrg @MatejMecka : guys, I don't have the capabilities to help you on the code, but if you are looking for a dummy to test what you did and give you feed-back, you can count on me! Thanks!

toshiSat commented 6 years ago

I'm willing to help with this if someone is working on it

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Brokray commented 5 years ago

@Tommytrg @MatejMecka, how are things going for you guys ?
Did you manage to do something ? Is there any help I can give ?

benbrown commented 5 years ago

Looks like someone has achieved this! https://www.npmjs.com/package/botkit-discord