{"id":13410842,"url":"https://github.com/shuppet/raku-api-discord","last_synced_at":"2025-10-25T13:30:57.479Z","repository":{"id":49091970,"uuid":"139187782","full_name":"shuppet/raku-api-discord","owner":"shuppet","description":"Raku module for interacting with the Discord API.","archived":false,"fork":false,"pushed_at":"2022-08-30T14:41:22.000Z","size":421,"stargazers_count":29,"open_issues_count":22,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T07:11:49.713Z","etag":null,"topics":["discord","discord-api","perl6","perl6-module","raku","raku-module"],"latest_commit_sha":null,"homepage":"https://shuppet.com","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shuppet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["kawaii","altreus"],"patreon":"shuppet","open_collective":null,"ko_fi":"shuppet","tidelift":null,"custom":null}},"created_at":"2018-06-29T19:26:14.000Z","updated_at":"2024-11-15T23:59:59.000Z","dependencies_parsed_at":"2022-08-12T20:00:43.831Z","dependency_job_id":null,"html_url":"https://github.com/shuppet/raku-api-discord","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuppet%2Fraku-api-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuppet%2Fraku-api-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuppet%2Fraku-api-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuppet%2Fraku-api-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuppet","download_url":"https://codeload.github.com/shuppet/raku-api-discord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238147572,"owners_count":19424286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","discord-api","perl6","perl6-module","raku","raku-module"],"created_at":"2024-07-30T20:01:09.709Z","updated_at":"2025-10-25T13:30:57.160Z","avatar_url":"https://github.com/shuppet.png","language":"Raku","funding_links":["https://github.com/sponsors/kawaii","https://github.com/sponsors/altreus","https://patreon.com/shuppet","https://ko-fi.com/shuppet"],"categories":["Libraries"],"sub_categories":["Raku"],"readme":"![logo](https://user-images.githubusercontent.com/12242877/44151690-34cd913c-a09b-11e8-80b6-25e2f232193b.png)\n\n`API::Discord` is a Raku (formerly Perl 6) module for interacting with the Discord API. Built on\ntop of [`Cro::WebSocket::Client`](https://github.com/croservices/cro-websocket)\nand [`Cro::HTTP::Client`](https://github.com/croservices/cro-http), this allows\nfor fast asynchronous operations between your application and the API.\n\n## Installation\n\n### ... from zef\n\n```\nzef install API::Discord\n```\n\n### ... from source\n\n```\ngit clone https://github.com/shuppet/raku-api-discord\ncd raku-api-discord/ \u0026\u0026 zef install ${PWD}\n```\n\n## Usage\n\nFull documentation can be found by reading the pod6 directly from the module source.\n\n```\np6doc API::Discord\n```\n\n## Example\n\n`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.\n\n```raku\n#!raku\n\nuse API::Discord;\nuse API::Discord::Debug; # remove to disable debug output\n\nsub MAIN($token) {\n    my $discord = API::Discord.new(:$token);\n\n    $discord.connect;\n    await $discord.ready;\n\n    react {\n        whenever $discord.messages -\u003e $message {\n            $message.channel.send-message($message.content);\n        }\n    }\n}\n```\nMore examples can be found within the [`examples/`](https://github.com/shuppet/raku-api-discord/tree/master/examples) directory of this repository.\n\n## Support\n\n### Official \n\nJoin 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](https://github.com/shuppet/raku-api-discord/issues/new) here on GitHub is far preferable).\n\n[![image](https://discordapp.com/api/guilds/502109774901542924/embed.png?style=banner2)](https://discord.gg/8FqQFCF)\n\n### Community\n\nIf 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. :)\n\n[![image](https://discordapp.com/api/guilds/538407879980482560/embed.png?style=banner2)](https://discord.gg/VzYpdQ6)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuppet%2Fraku-api-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuppet%2Fraku-api-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuppet%2Fraku-api-discord/lists"}