Socket
Socket
Sign inDemoInstall

@hubot-friends/hubot-discord

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubot-friends/hubot-discord

A new Discord adapter for Hubot


Version published
Weekly downloads
4
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

Hubot Discord Adapter

This is a Discord adapter for Hubot, a popular chatbot framework. With this adapter, you can connect your Hubot instance to a Discord server and interact with users through chat.

Installation

To use this adapter, you'll need to have Node.js and npm installed on your system. Then, you can install hubot-discord using npm:

npm install @hubot-friends/hubot-discord

Configuration

To configure hubot-discord, you'll need to set a few environment variables:

  • HUBOT_DISCORD_TOKEN: Your Discord bot token. You can create a new bot and get a token from the Discord Developer Portal.

Don't forget to add your instance of Hubot to the channels with which you want to interact with it.

You can set these environment variables in a .env file in your Hubot project directory, or by exporting them in your shell.

Usage

To start your Hubot instance with the Discord adapter, run (if hubot is in your PATH):

HUBOT_DISCORD_TOKEN=<your-bot-token> hubot -a @hubot-friends/hubot-discord -n jbot

Replace <your-bot-token> with your Discord bot token.

Once your Hubot instance is running, you can interact with it through chat in the Discord channel you've added Hubot to.

Contributing

If you find a bug or have a feature request, please open an issue on the GitHub repository. Pull requests are also welcome!

License

hubot-discord is released under the MIT License.

Keywords

FAQs

Package last updated on 23 Apr 2024

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