{"id":32191316,"url":"https://github.com/tripl3dogdare/disclojure","last_synced_at":"2026-05-18T03:01:38.371Z","repository":{"id":57714130,"uuid":"116730915","full_name":"tripl3dogdare/disclojure","owner":"tripl3dogdare","description":"A Discord API wrapper for Clojure.","archived":false,"fork":false,"pushed_at":"2018-02-22T01:32:11.000Z","size":102,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T22:07:47.747Z","etag":null,"topics":["bot","clojure","discord","discord-api","discord-api-wrapper","discord-bot","discord-library"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tripl3dogdare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-08T21:37:06.000Z","updated_at":"2020-07-09T16:31:06.000Z","dependencies_parsed_at":"2022-09-26T21:31:13.376Z","dependency_job_id":null,"html_url":"https://github.com/tripl3dogdare/disclojure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tripl3dogdare/disclojure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripl3dogdare%2Fdisclojure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripl3dogdare%2Fdisclojure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripl3dogdare%2Fdisclojure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripl3dogdare%2Fdisclojure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripl3dogdare","download_url":"https://codeload.github.com/tripl3dogdare/disclojure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripl3dogdare%2Fdisclojure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33163413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","clojure","discord","discord-api","discord-api-wrapper","discord-bot","discord-library"],"created_at":"2025-10-22T01:37:24.303Z","updated_at":"2026-05-18T03:01:38.349Z","avatar_url":"https://github.com/tripl3dogdare.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disclojure\n\nA Discord API wrapper for Clojure, aimed at providing a simple, idiomatic, easy-to-use interface for creating Discord bots.\n\n- [Documentation](http://docs.tripl3dogdare.com/disclojure/)\n\n## Disclaimer\n\nDisclojure is still heavily in development, and said development is currently aimed not at ease of use but at completeness. It comes as a use-at-your-own-risk option for advanced users. For example, at time of writing there is no built-in caching support or ratelimit protection. Eventually, once the library is satisfactorily feature-complete, my attention will turn towards ease of use.\n\n## Installation\n\nTo install, add the following dependency to your project or build file:\n\n```clojure\n[com.tripl3dogdare/disclojure \"Indev\"]\n```\n\n**WARNING: Disclojure is currently in heavy development and changes are not being versioned. It should be considered very unstable as a dependency. Once it is complete enough to be used reliably, proper versioning will be used.**\n\n## Examples\n\nFor a full example bot kept reliably up to date with the current state of the library, you can see [example/testbot.clj](https://github.com/tripl3dogdare/disclojure/blob/master/example/testbot.clj).\n\n```clojure\n(ns discord-bot\n  (:require\n    [disclojure.core :as dc]))\n\n; A simple bot that just prints the text of any message it receives to the console\n(defn -main []\n  (-\u003e (slurp \"token.txt\") ; Retrieve the token from a separate, .gitignore'd file\n      dc/create-client ; Create a new client instance using the token\n\n      ; Create a new listener for the :message event.\n      ; The event map recieved by the listener has the keys :data, :type, and :client.\n      ; The threading macro here uses the (:key map) syntax\n      ;   to access the :data attribute (the raw event payload)\n      ;   and from there the :content attribute (the text of the message).\n      (dc/on :message #(-\u003e % :data :content println))\n\n      dc/run)) ; Connect the client to Discord and away we go!\n```\n\n## Todo (in rough order of priority)\n\n- Caching (WIP)\n- Rate limit protection\n- Support for outgoing gateway messages (Status Update, Request Guild Members)\n- Utility methods\n- Command framework\n- Extensive testing\n- Add to Clojars\n- Get channel on Discord API server\n- Improve documentation\n- Voice support?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripl3dogdare%2Fdisclojure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripl3dogdare%2Fdisclojure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripl3dogdare%2Fdisclojure/lists"}