Class GuildRoleCreateHandler


  • public class GuildRoleCreateHandler
    extends PacketHandler
    Handles the guild role create packet.
    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(com.fasterxml.jackson.databind.JsonNode packet)
      This method is called by the super class to handle the packet.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GuildRoleCreateHandler

        public GuildRoleCreateHandler​(DiscordApi api)
        Creates a new instance of this class.
        Parameters:
        api - The api.
    • Method Detail

      • handle

        public void handle​(com.fasterxml.jackson.databind.JsonNode packet)
        Description copied from class: PacketHandler
        This method is called by the super class to handle the packet.
        Specified by:
        handle in class PacketHandler
        Parameters:
        packet - The packet (the "d"-object).