Interface GatewayGuildBan

All Superinterfaces:
Entity, GuildEntity, HasGuild
All Known Implementing Classes:
GatewayGuildBanImpl

public interface GatewayGuildBan extends GuildEntity
Fired over the event bus when a user is banned in a guild.
Since:
10/6/18.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize

    Methods inherited from interface com.mewna.catnip.entity.partials.GuildEntity

    guild

    Methods inherited from interface com.mewna.catnip.entity.partials.HasGuild

    guildId, guildIdAsLong
  • Method Details

    • user

      @Nonnull @CheckReturnValue User user()
      Returns:
      The user who was banned.