Class LogMessageUser
java.lang.Object
de.presti.ree6.logger.events.LogMessage
de.presti.ree6.logger.events.implentation.LogMessageUser
Class for overall Interaction handling with Users.
-
Constructor Summary
ConstructorDescriptionLogMessageUser
(long webhookId, String webhookAuthCode, club.minnced.discord.webhook.send.WebhookMessage webhookMessage, net.dv8tion.jda.api.entities.Guild guild, LogTyp logTyp, net.dv8tion.jda.api.entities.User user) Constructor for a Log-Message which shouldn't be handled. -
Method Summary
Modifier and TypeMethodDescriptionnet.dv8tion.jda.api.entities.User
getUser()
Retrieve the User associated with this Event.Methods inherited from class de.presti.ree6.logger.events.LogMessage
cancel, getAuthCode, getGuild, getId, getType, getWebhookMessage, isCanceled, setCanceled, setType, setWebhookMessage
-
Constructor Details
-
LogMessageUser
public LogMessageUser(long webhookId, String webhookAuthCode, club.minnced.discord.webhook.send.WebhookMessage webhookMessage, net.dv8tion.jda.api.entities.Guild guild, LogTyp logTyp, net.dv8tion.jda.api.entities.User user) Constructor for a Log-Message which shouldn't be handled.- Parameters:
webhookId
- The ID of the Webhook.webhookAuthCode
- The Auth-Token for the Webhook.webhookMessage
- WebhookMessage itself.guild
- The Guild related to the Log-MessagelogTyp
- The Typ of the current Log.user
- The User related to the Log-Message.
-
-
Method Details
-
getUser
public net.dv8tion.jda.api.entities.User getUser()Retrieve the User associated with this Event.- Returns:
- the User Entity.
-