### HTTP GET request to ask documentation question Source: https://wiki.incredibleplugins.com/discordbridge/modules/bot Use this GET request to query the documentation index with the `ask` parameter and optional `goal` parameter. The `ask` parameter is the immediate question, and `goal` describes the broader end goal. The response contains a direct answer and relevant excerpts. ```http GET https://wiki.incredibleplugins.com/discordbridge/setup/bot.md?ask=&goal= ``` -------------------------------- ### Get DiscordBridgeAPI instance Source: https://wiki.incredibleplugins.com/discordbridge/developers/api.md Retrieves the DiscordBridgeAPI instance. DiscordBridge must be loaded before this call, but it does not need to be enabled. ```java DiscordBridgeAPI api = DiscordBridgeAPI.getInstance(); ``` -------------------------------- ### Manage list values with /config linking_allowed_roles Source: https://wiki.incredibleplugins.com/discordbridge/setup/discord-configuration.md List values are managed with their own command groups. Use the add subcommand to add a role and the remove subcommand to remove a role. Run these commands inside your Discord server, not in DMs. ```text /config linking_allowed_roles add role:@Member ``` ```text /config linking_allowed_roles remove role:@Member ``` -------------------------------- ### Set a non-list value with /config set Source: https://wiki.incredibleplugins.com/discordbridge/setup/discord-configuration.md Use this command to set a non-list setting, such as chat_channel, to a specific value. Run it inside your Discord server, not in DMs. Use Discord's autocomplete after /config set to select the exact key and value type. ```text /config set chat_channel textchannel:#minecraft-chat ``` -------------------------------- ### Include DiscordBridgeAPI with Gradle Source: https://wiki.incredibleplugins.com/discordbridge/developers/api.md Adds the DiscordBridgeAPI dependency to a Gradle project using JitPack. Replace `version` with the desired version. The `compileOnly` configuration indicates the API is only needed at compile time. ```groovy repositories { maven { url 'https://jitpack.io' } } dependencies { compileOnly "com.github.angeschossen:DiscordBridgeAPI:version" } ``` -------------------------------- ### Include DiscordBridgeAPI with Maven Source: https://wiki.incredibleplugins.com/discordbridge/developers/api.md Adds the DiscordBridgeAPI dependency to a Maven project using JitPack. Replace `version` with the desired version. The `provided` scope indicates the API is only needed at compile time. ```xml jitpack.io https://jitpack.io com.github.angeschossen DiscordBridgeAPI version provided ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.