Repository is archived
No commit activity in last 3 years
No release in over 3 years
Discord Adapter for Lita
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 4.7
>= 0
>= 3.0.0

Runtime

>= 3.1.1
 Project Readme

lita-discord

Discord adapter for Lita, using OAuth tokens.

No longer maintained

This repository is no longer maintained since I moved away from Lita to JDA. Feel free to use the code in this repository in your own Lita adapter.

Installation

Add lita-discord to your Lita instance's Gemfile:

gem "lita-discord_oauth"

Configuration

The adapter exposes two configuration settings:

  • config.adapters.discord_oauth.token = ''
    Bot account token
  • config.adapters.discord_oauth.client = ''
    Bot client ID

You can get both these values from this page - Make sure that the application is a bot user!

bot user

Usage

This bot includes a custom help command. You must disable the built-in help command to prevent double output.