Package me.ulrich.clans.api
Class DiscordAPIManager
java.lang.Object
me.ulrich.clans.api.DiscordAPIManager
- All Implemented Interfaces:
DiscordAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeWebhook(UUID clanUUID, String url) getWebhook(UUID clanUUID) booleanhasWebhook(UUID clanUUID) booleanremoveWebhook(UUID clanUUID) boolean
-
Constructor Details
-
DiscordAPIManager
-
-
Method Details
-
sendClanHookMessage
public boolean sendClanHookMessage(UUID clanUUID, String title, String content, String autor, String autorIcon) - Specified by:
sendClanHookMessagein interfaceDiscordAPI
-
hasWebhook
- Specified by:
hasWebhookin interfaceDiscordAPI
-
getWebhook
- Specified by:
getWebhookin interfaceDiscordAPI
-
changeWebhook
- Specified by:
changeWebhookin interfaceDiscordAPI
-
removeWebhook
- Specified by:
removeWebhookin interfaceDiscordAPI
-