Class StandaloneConsoleWrapper

java.lang.Object
net.lucypoulton.squirtgun.discord.standalone.StandaloneConsoleWrapper
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.lucypoulton.squirtgun.platform.audience.PermissionHolder, net.lucypoulton.squirtgun.platform.audience.SquirtgunUser

public class StandaloneConsoleWrapper extends Object implements net.lucypoulton.squirtgun.platform.audience.SquirtgunUser, net.kyori.adventure.audience.Audience
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasPermission​(String permission)
     
    void
    sendMessage​(@NotNull net.kyori.adventure.identity.Identity source, @NotNull net.kyori.adventure.text.Component component, @NotNull net.kyori.adventure.audience.MessageType type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.adventure.audience.Audience

    clearTitle, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSound

    Methods inherited from interface net.kyori.adventure.pointer.Pointered

    get, getOrDefault, getOrDefaultFrom, pointers
  • Constructor Details

    • StandaloneConsoleWrapper

      public StandaloneConsoleWrapper(DiscordPlatform platform)
  • Method Details

    • hasPermission

      public boolean hasPermission(String permission)
      Specified by:
      hasPermission in interface net.lucypoulton.squirtgun.platform.audience.PermissionHolder
    • sendMessage

      public void sendMessage(@NotNull @NotNull net.kyori.adventure.identity.Identity source, @NotNull @NotNull net.kyori.adventure.text.Component component, @NotNull @NotNull net.kyori.adventure.audience.MessageType type)
      Specified by:
      sendMessage in interface net.kyori.adventure.audience.Audience