{"id":41503935,"url":"https://github.com/freya022/jda-emojis","last_synced_at":"2026-01-23T19:13:55.735Z","repository":{"id":274166485,"uuid":"921934783","full_name":"freya022/jda-emojis","owner":"freya022","description":"Brings emojis to your JDA projects","archived":false,"fork":false,"pushed_at":"2025-04-13T13:38:16.000Z","size":107,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T07:47:20.792Z","etag":null,"topics":["emojis","jda"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freya022.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-24T22:40:26.000Z","updated_at":"2025-04-26T12:20:39.000Z","dependencies_parsed_at":"2025-01-25T12:17:18.032Z","dependency_job_id":"762f8fd9-6cae-4f63-bd38-a6ef478db441","html_url":"https://github.com/freya022/jda-emojis","commit_stats":null,"previous_names":["freya022/jda-emojis"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/freya022/jda-emojis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freya022%2Fjda-emojis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freya022%2Fjda-emojis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freya022%2Fjda-emojis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freya022%2Fjda-emojis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freya022","download_url":"https://codeload.github.com/freya022/jda-emojis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freya022%2Fjda-emojis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28698449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["emojis","jda"],"created_at":"2026-01-23T19:13:55.005Z","updated_at":"2026-01-23T19:13:55.730Z","avatar_url":"https://github.com/freya022.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[jda-emojis-maven-central-shield]: https://img.shields.io/maven-central/v/dev.freya02/jda-emojis\n[jda-emojis-maven-central-link]: https://mvnrepository.com/artifact/dev.freya02/jda-emojis/latest\n\n## JDA Emojis\nThis is a lightweight and convenient alternative to [JEmoji](https://github.com/felldo/JEmoji), from which it is generated from.\n\nAssuming you only need to use the emojis, you can use them directly with JDA instead of having to convert them!\n\n## Installation\n[![jda-emojis-maven-central-shield]][jda-emojis-maven-central-link]\n\nThe minimum Java version supported is Java 11.\n\n### Kotlin Gradle\n```kt\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation(\"dev.freya02:jda-emojis:$version\") // replace $version with the latest version\n}\n```\n\n### Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003edev.freya02\u003c/groupId\u003e\n    \u003cartifactId\u003ejda-emojis\u003c/artifactId\u003e\n    \u003cversion\u003e${version}\u003c/version\u003e \u003c!-- replace ${version} with the latest version --\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\nThere are two classes you can use `Emojis` and `UnicodeEmojis`, you can use either of them, they are the same.\n\nThis library only provides known emojis as constants, if you need to retrieve them from a string, you will have to use JEmoji.\n\n## Examples\n### Buttons\n```java\nButton approve = Button.primary(\"approve:data\", \"Approve\").withEmoji(Emojis.WHITE_CHECK_MARK);\n```\n\n### Select menus\n```java\nStringSelectMenu choices = StringSelectMenu.create(\"choices:data\")\n        .addOptions(\n                SelectOption.of(\"First choice\", \"1\").withEmoji(Emojis.ONE)\n        )\n        .build();\n```\n\n### Reactions\n```java\nMessageCreateData messageData = new MessageCreateBuilder()\n        .addActionRow(approve)\n        .addActionRow(choices)\n        .build();\n\nevent.reply(messageData)\n        // Since we reply to a slash command, we need to retrieve the message back\n        .flatMap(InteractionHook::retrieveOriginal)\n        // This emoji's name is slightly different as fields can't start with digits\n        .flatMap(message -\u003e message.addReaction(Emojis.HUNDRED_POINTS))\n        .queue();\n```\n\n![example.png](assets/example.png)\n\n## License\nThis project is licensed using the Apache 2.0 license.\n\nThe code was also partially generated from JEmoji, using the [same license](https://github.com/felldo/JEmoji/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreya022%2Fjda-emojis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreya022%2Fjda-emojis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreya022%2Fjda-emojis/lists"}