Class VoiceChannelUpdateRegionEvent

    • Constructor Detail

      • VoiceChannelUpdateRegionEvent

        public VoiceChannelUpdateRegionEvent​(@NotNull
                                             @NotNull JDA api,
                                             long responseNumber,
                                             @NotNull
                                             @NotNull VoiceChannel channel,
                                             @Nullable
                                             @Nullable java.lang.String oldRegion)
    • Method Detail

      • getOldRegion

        @Nonnull
        public Region getOldRegion()
        The old Region
        Returns:
        The old region
      • getNewRegion

        @Nonnull
        public Region getNewRegion()
        The new Region
        Returns:
        The new region
      • getOldRegionRaw

        @Nullable
        public @Nullable java.lang.String getOldRegionRaw()
        The old raw region String
        Returns:
        The old raw region String or null if the Region is set to Automatic.
      • getNewRegionRaw

        @Nullable
        public @Nullable java.lang.String getNewRegionRaw()
        The new raw region String
        Returns:
        The new raw region String or null if the Region is set to Automatic.