Different bots can be created, which can then be accessed by other plugins.
Questions and Answers
How do I create a Bot?
Go to ACP -> Configuration -> Discord -> Discord Bots -> Add Discord-Bot.
How can I implement to my Plugin?
Add the dependency to this plugin to your package.xml::
Create a bot in the ACP. This gets an ID. Using the following code you can use the API:
The $botID has to be changed, of course.
Now you can communicate with Discord. Here is an example to get a channel:
- 204.29 kB
- 90 Downloads
FEATURE: Neuer Discord-Type hinzugefügt wcf\system\discord\type\RoleMultiSelectDiscordType
- 193.54 kB
- 17 Downloads
- internal changes