Class DiscordChannelMessageEvent


public class DiscordChannelMessageEvent extends DiscordChannelEvent
  • Constructor Details

    • DiscordChannelMessageEvent

      public DiscordChannelMessageEvent(discord4j.core.object.entity.User user, discord4j.core.object.entity.channel.Channel channel, discord4j.core.object.entity.Message message, boolean isAdmin)
      Class constructor for this event.
      Parameters:
      user -
      channel -
      message -
      isAdmin -
  • Method Details

    • isAdmin

      public boolean isAdmin()
      Method that returns if the user a admin in the server.
      Returns:
      isAdmin
    • toString

      public String toString()
      Method that returns this object as a string.
      Overrides:
      toString in class Object
      Returns: