Class DiscordChannelMessageEvent


public class DiscordChannelMessageEvent extends DiscordChannelEvent
  • Constructor Details

    • DiscordChannelMessageEvent

      public DiscordChannelMessageEvent(User user, Channel channel, 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: