All Projects → shuppet → raku-api-discord

shuppet / raku-api-discord

Licence: BSD-3-Clause license
Raku module for interacting with the Discord API.

Programming Languages

Raku
181 projects

Projects that are alternatives of or similar to raku-api-discord

awesome-raku
⭐ Useful resources for Raku (formerly known as Perl 6) programmers
Stars: ✭ 19 (-42.42%)
Mutual labels:  perl6-module, raku-module
DPP
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
Stars: ✭ 560 (+1596.97%)
Mutual labels:  discord-api
Discord-Music-Turret-Bot
A standalone Discord music bot, made with DSharpPlus, using Lavalink.
Stars: ✭ 14 (-57.58%)
Mutual labels:  discord-api
drone-discord
Drone plugin for sending message to Discord channel using Webhook
Stars: ✭ 34 (+3.03%)
Mutual labels:  discord-api
gencord
A simple, beginner-friendly, and easy-to-use library for interacting with the Discord API, with minimal syntax.
Stars: ✭ 20 (-39.39%)
Mutual labels:  discord-api
acord
An API wrapper for discord, built using aiohttp and pydantic.
Stars: ✭ 25 (-24.24%)
Mutual labels:  discord-api
Aometry
An awesome multipurpose discord bot build using discord.js v13 with support for slash commands and context menus
Stars: ✭ 51 (+54.55%)
Mutual labels:  discord-api
discord.clj
A Clojure library for creating Discord bots
Stars: ✭ 45 (+36.36%)
Mutual labels:  discord-api
Diskord
[Mirror of GitLab] A Kotlin client for Discord with a light wrapper on the REST APIs and a simple to use DSL for basic bots.
Stars: ✭ 146 (+342.42%)
Mutual labels:  discord-api
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes 🥱🚀
Stars: ✭ 132 (+300%)
Mutual labels:  discord-api
discord-account-generator
An hcaptcha-solving discord account generator; capable of generating unlocked discord accounts.
Stars: ✭ 61 (+84.85%)
Mutual labels:  discord-api
Hurricano
An amazing open-source Discord bot using MongoDB with many features such as a customizable prefix, a reaction menu, music, role requirement giveaways and much more!
Stars: ✭ 97 (+193.94%)
Mutual labels:  discord-api
orca
C Multi-REST API library for Discord, Slack, Reddit, etc.
Stars: ✭ 360 (+990.91%)
Mutual labels:  discord-api
Discord-Presser-Server-Nuker
Nuke Discord Bot in Js (Beta has arrived)
Stars: ✭ 253 (+666.67%)
Mutual labels:  discord-api
Foxy
🦊 A very, very cute, multipurpose, multilingual bot for Discord! Making your server cuter -w-
Stars: ✭ 58 (+75.76%)
Mutual labels:  discord-api
DNS-over-Discord
A 1.1.1.1 DNS resolver built for Discord
Stars: ✭ 228 (+590.91%)
Mutual labels:  discord-api
library
🐍 A Python library for Discord.
Stars: ✭ 648 (+1863.64%)
Mutual labels:  discord-api
Discord.CPP
Discord.CPP is a C++ library for interaction with the Discord API.
Stars: ✭ 46 (+39.39%)
Mutual labels:  discord-api
disgo
A modular Golang Discord API Wrapper
Stars: ✭ 113 (+242.42%)
Mutual labels:  discord-api
Volte
A free, robust, open-source Discord bot written in C# 8 using .NET Core 3.1 and a whole lotta Man Hours.
Stars: ✭ 78 (+136.36%)
Mutual labels:  discord-api

logo

API::Discord is a Raku (formerly Perl 6) module for interacting with the Discord API. Built on top of Cro::WebSocket::Client and Cro::HTTP::Client, this allows for fast asynchronous operations between your application and the API.

Installation

... from zef

zef install API::Discord

... from source

git clone https://github.com/shuppet/raku-api-discord
cd raku-api-discord/ && zef install ${PWD}

Usage

Full documentation can be found by reading the pod6 directly from the module source.

p6doc API::Discord

Example

API::Discord is designed to do all the hard work for you. Let us handle the connection, authentication, heartbeats, message parsing and all that other boring stuff - leaving you to focus on writing logic for your applications.

#!raku

use API::Discord;
use API::Discord::Debug; # remove to disable debug output

sub MAIN($token) {
    my $discord = API::Discord.new(:$token);

    $discord.connect;
    await $discord.ready;

    react {
        whenever $discord.messages -> $message {
            $message.channel.send-message($message.content);
        }
    }
}

More examples can be found within the examples/ directory of this repository.

Support

Official

Join our official Discord server where we discuss development, bugs and test changes or new features to our library. Please note that this is a volunteer project and we all have real lives, day jobs and other responsiblities outside of the Internet. Replies may not be immediate and a resolution of your problem is not guaranteed outside of valid bug reports (for which raising an issue here on GitHub is far preferable).

image

Community

If you have a more general Raku question, or need help with a programming issue then it might be best to join the Raku Discord community instead. Some of the members there are also familiar with API::Discord and it's quite likely they'll be able to help you faster than we can. They're also really nice people. :)

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].