discordconnector
v0.7.3
Published
Discord-Bot Framework connector that uses Discord.js and Bot Framework's Direct Line to connect Bot Framework bots to Discord.
Downloads
2
Maintainers
Readme
DiscordConnector
Version 0.7.3
Description:
DiscordConnector allows bots written using Microsoft's Bot Framework to be used in the popular VoIP client, Discord. DiscordConnector uses the Bot Framework's Direct Line API to connect a Bot Framework Bot to Discord. This connector implements Discord.js to map Direct Line's Activity objects to Discord-consumable events.
The ConnectorStorage provides multiple conversation support. A succinct description is that the DiscordConnector uses an external storage to store Direct Line Conversationi ID and Discord Channel ID pairings; this allows your users to continue conversations with their bot.
The DiscordHelperModule focuses on providing Discord-specific functionalities and commands, e.g. having a bot join or leave a channel, getting a list of users from the Discord.js client, etc.
Setup:
npm install
ffmpeg
DiscordConnector
Details:
- This version of the DiscordConnector was built with Discord.js v11.1.0 (Discord.js .zip and .tar.gz)
- Users should only format their bot's messages in markdown as this is Discord's supported markup language.
- NOTE: Discord does not support buttons or similiar forms of data input in their RichEmbeds. If a button type is one of those found here under cardActionTypes, then the value of the message (if an URL) will be added to the card.
- Discord currently supports one attachment per message.
Examples:
Special Thanks:
- Thank you to hydrabolt for the Discord.js library.
Other Information:
You can provide feedback to Discord via their forums!
File Bot Builder bugs and issues at their repository.
File Discord.js issues at their repository.