Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botkit-discord

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botkit-discord

A botkit connector for Discord

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
34
decreased by-20.93%
Maintainers
1
Weekly downloads
 
Created
Source

botkit-discord

🤖👾 A Botkit connector for Discord

This Botkit connector would not be possible without the powerful and simple library, izy521/discord.io.

Please Note: This is still a work in progress and I will continue to add more functionalities as I dig deeper into documentation.

Usage

const BotkitDiscord = require('botkit-discord');
const config = {
    token: '**' // Discord bot token
}

const discordBot = BotkitDiscord(config);

discordBot.hears('hello','direct_message',(bot, message) => {
    bot.reply('how goes there :)!')
});

Refer to Botkit documentation to utilize all of the other Botkit features.

Events

Incoming Events

EventDescription
direct_messagethe bot received a direct message from a user
direct_mentionthe bot was addressed directly in a channel ("@bot hello")
mentionthe bot was mentioned by someone in a message ("hello @bot")

Bot Activity Events

EventDescription
disconnectBot has disconnected or failed to login
readyBot is connected

More to come (Audio, Voice, etc)

License

Ⓒ MIT (Brandon Him / brh55)

Please let me know if you plan on forking or would like professional support.

Keywords

FAQs

Package last updated on 02 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc