Discord4J
Discord4J copied to clipboard
Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
**Description:** Update the ExampleModal file **Justification:** The example previously provided was using SelectMenu in modals, which are not allowed. For now only TextInput are allowed in modals.
**Description:** Adds support for editing the current application info **Justification:** https://discord.com/developers/docs/resources/application#edit-current-application **Depends on:** https://github.com/Discord4J/discord-json/pull/158
**Description:** Implement the roles for team members. this PR ignore the "OWNER" role based in this role are never used because for know the owner you need check another field...
**Description:** This PR handle missing OptionKey for AutoMod and add the recently added option for Integration Type (https://github.com/Discord4J/discord-json/pull/154)
**Description:** Adds support for default Values for Auto-populated Select Menus (https://discord.com/developers/docs/change-log#default-value-in-autopopulated-select-menus) Requires https://github.com/Discord4J/discord-json/pull/157
**To Reproduce:** Run this code in a loop on Java17 with -Xmx40m. For me it only goes four iterations and hits OOM on the fifth. ``` GatewayDiscordClient gateway = DiscordClient.create(discordBotToken)...
**Description:** This PR handle two things. - Add support for Create a Color using hex color string (including a few tests) - Implement SuperReactions and CountDetails in reactions, the methods...
Event ConnectEvent is never called if not the first event subcribed to. I spend all day figuring it out and I can find nothing about it in the docs or...
**To Reproduce:** ```java String token = "xxx"; ReactorResource resources = ReactorResources.builder().httpClient(...).build(); // customize HTTP client (e.g. proxy) DiscordClient client = DiscordClientBuilder.create(token).setReactorResources(resources).build(); client.withGateway(xxx); // listen events ``` **Expected Behavior:** `GatewayDiscordClient` defaults...
**Description:** Handles long string conversion by overriding for some objects how they are converted to a String. I chose to create an utility function that use the instanceof operator to...