Skip to content

nmelnick/AnyEvent-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnyEvent::Discord

Provides an AnyEvent interface to the Discord bot API.

I didn't think I'd be writing any new Perl modules in the year of 2021, but sometimes you're extending old code to do something new, and find the existing tools to not be what you're looking for.

This is an alternative module to AnyEvent::Discord::Client. That module is a perfectly fine module, but it does a lot of things to make "making a bot" easier, but doesn't translate well to an existing bot framework. This module provides an eventing interface common to some of the other AnyEvent interfaces to chat APIs.

This is still likely unfinished, but opening it up to get some more eyes on it.

Usage

See the documentation.

Building outside of CPAN

AnyEvent::Discord using Dist::Zilla to manage the build and distribution steps. Before starting, make sure Dist::Zilla is installed:

cpanm Dist::Zilla

To build for local development:

dzil authordeps --missing | cpanm
dzil listdeps | cpanm
dzil test

About

Provides an AnyEvent interface to the Discord REST and WebSocket APIs

Resources

Stars

Watchers

Forks

Packages

No packages published