Class GayrateCommand

java.lang.Object
org.prithvidiamond1.Commands.GayrateCommand
All Implemented Interfaces:
Command

public class GayrateCommand extends Object implements Command
This class contains the actions of the gayrate command
Calculates how gay a person is using pseudo-RNG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    runCommand(org.javacord.api.event.interaction.SlashCommandCreateEvent event)
    the slash version of the gayrate command
    void
    runCommand(org.javacord.api.event.message.MessageCreateEvent event)
    the guild version of the gayrate command

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GayrateCommand

      public GayrateCommand()
  • Method Details

    • runCommand

      public void runCommand(org.javacord.api.event.message.MessageCreateEvent event)
      the guild version of the gayrate command
      Specified by:
      runCommand in interface Command
      Parameters:
      event - the guild command trigger event
    • runCommand

      public void runCommand(org.javacord.api.event.interaction.SlashCommandCreateEvent event)
      the slash version of the gayrate command
      Specified by:
      runCommand in interface Command
      Parameters:
      event - the slash command trigger event