AnyEvent-Discord-Client

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "A Discord client library for the AnyEvent framework.",
   "author" : [
      "Eric Wastl <topaz@cpan.org>"
   ],
   "dynamic_config" : 1,
   "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.143240",
   "license" : [
      "unknown"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'A Discord client library for the AnyEvent framework.'
author:
  - 'Eric Wastl <topaz@cpan.org>'
build_requires:
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.143240'
license: unknown
meta-spec:

README  view on Meta::CPAN

AnyEvent::Discord::Client - A Discord client library for the AnyEvent framework.

This module provides the functionality required to create a simple Discord
client or bot using the REST and WebSocket interfaces to Discord.


INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL

lib/AnyEvent/Discord/Client.pm  view on Meta::CPAN

      $cb->(!defined $body ? undef : defined $hdr->{"content-type"} && $hdr->{"content-type"} eq 'application/json' ? decode_json($body) : 1, $hdr);
    },
  );
}

1;

__END__
=head1 NAME

AnyEvent::Discord::Client - A Discord client library for the AnyEvent framework.

=head1 SYNOPSIS

    use AnyEvent::Discord::Client;

    my $token = 'NjI5NTQ4Mjg3NTMxMjg2......';
    
    my $bot = new AnyEvent::Discord::Client(
      token => $token,
      commands => {



( run in 0.812 second using v1.01-cache-2.11-cpan-df04353d9ac )