-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b03e10d
commit 663dfa3
Showing
37 changed files
with
2,830 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
src/main/java/com/beanbeanjuice/cafebot/commands/interaction/BonkCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.beanbeanjuice.cafebot.commands.interaction; | ||
|
||
import com.beanbeanjuice.cafeapi.wrapper.endpoints.interactions.InteractionType; | ||
import com.beanbeanjuice.cafebot.CafeBot; | ||
import com.beanbeanjuice.cafebot.utility.commands.Command; | ||
import com.beanbeanjuice.cafebot.utility.commands.ICommand; | ||
import com.beanbeanjuice.cafebot.utility.sections.interactions.ICommandInteraction; | ||
import net.dv8tion.jda.api.Permission; | ||
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; | ||
import net.dv8tion.jda.api.interactions.commands.OptionType; | ||
import net.dv8tion.jda.api.interactions.commands.build.OptionData; | ||
|
||
public class BonkCommand extends Command implements ICommand, ICommandInteraction { | ||
|
||
public BonkCommand(final CafeBot cafeBot) { | ||
super(cafeBot); | ||
} | ||
|
||
@Override | ||
public void handle(SlashCommandInteractionEvent event) { | ||
this.handleInteraction(InteractionType.BONK, event, cafeBot); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "bonk"; | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return "Bonk someone!"; | ||
} | ||
|
||
@Override | ||
public OptionData[] getOptions() { | ||
return new OptionData[] { | ||
new OptionData(OptionType.USER, "user", "The person you want to bonk!"), | ||
new OptionData(OptionType.STRING, "message", "An optional message to send!") | ||
}; | ||
} | ||
|
||
@Override | ||
public Permission[] getPermissions() { | ||
return new Permission[0]; | ||
} | ||
|
||
@Override | ||
public boolean isEphemeral() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean isNSFW() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean allowDM() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public String getSelfString() { | ||
return "%s just... **bonked** themself. <:disgusted:1257142116539301909>"; | ||
} | ||
|
||
@Override | ||
public String getOtherString() { | ||
return "%s just **bonked** %s?! <:gasp:1257142832230170674>"; | ||
} | ||
|
||
@Override | ||
public String getBotString() { | ||
return "Ow! Th- that.. that hurt! <:cafeBot_sad:1171726165040447518>"; | ||
} | ||
|
||
@Override | ||
public String getFooterString() { | ||
return "%s bonked others %d times. %s was bonked %d times."; | ||
} | ||
|
||
} |
82 changes: 82 additions & 0 deletions
82
src/main/java/com/beanbeanjuice/cafebot/commands/interaction/BoopCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.beanbeanjuice.cafebot.commands.interaction; | ||
|
||
import com.beanbeanjuice.cafeapi.wrapper.endpoints.interactions.InteractionType; | ||
import com.beanbeanjuice.cafebot.CafeBot; | ||
import com.beanbeanjuice.cafebot.utility.commands.Command; | ||
import com.beanbeanjuice.cafebot.utility.commands.ICommand; | ||
import com.beanbeanjuice.cafebot.utility.sections.interactions.ICommandInteraction; | ||
import net.dv8tion.jda.api.Permission; | ||
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; | ||
import net.dv8tion.jda.api.interactions.commands.OptionType; | ||
import net.dv8tion.jda.api.interactions.commands.build.OptionData; | ||
|
||
public class BoopCommand extends Command implements ICommand, ICommandInteraction { | ||
|
||
public BoopCommand(final CafeBot cafeBot) { | ||
super(cafeBot); | ||
} | ||
|
||
@Override | ||
public void handle(SlashCommandInteractionEvent event) { | ||
this.handleInteraction(InteractionType.BOOP, event, cafeBot); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "boop"; | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return "Boop someone!"; | ||
} | ||
|
||
@Override | ||
public OptionData[] getOptions() { | ||
return new OptionData[] { | ||
new OptionData(OptionType.USER, "user", "The person you want to boop! :3"), | ||
new OptionData(OptionType.STRING, "message", "An optional message you want to send.") | ||
}; | ||
} | ||
|
||
@Override | ||
public Permission[] getPermissions() { | ||
return new Permission[0]; | ||
} | ||
|
||
@Override | ||
public boolean isEphemeral() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean isNSFW() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean allowDM() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public String getSelfString() { | ||
return "%s just **booped** themself... 😭"; | ||
} | ||
|
||
@Override | ||
public String getOtherString() { | ||
return "%s just **booped** %s! Awww~ <:aww:1257143681878593727>"; | ||
} | ||
|
||
@Override | ||
public String getBotString() { | ||
return "hehe~ what do you need? <:pleading_blush:1257143682776432731>"; | ||
} | ||
|
||
@Override | ||
public String getFooterString() { | ||
return "%s booped others %d times. %s was booped %d times."; | ||
} | ||
|
||
} |
82 changes: 82 additions & 0 deletions
82
src/main/java/com/beanbeanjuice/cafebot/commands/interaction/CryCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.beanbeanjuice.cafebot.commands.interaction; | ||
|
||
import com.beanbeanjuice.cafeapi.wrapper.endpoints.interactions.InteractionType; | ||
import com.beanbeanjuice.cafebot.CafeBot; | ||
import com.beanbeanjuice.cafebot.utility.commands.Command; | ||
import com.beanbeanjuice.cafebot.utility.commands.ICommand; | ||
import com.beanbeanjuice.cafebot.utility.sections.interactions.ICommandInteraction; | ||
import net.dv8tion.jda.api.Permission; | ||
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; | ||
import net.dv8tion.jda.api.interactions.commands.OptionType; | ||
import net.dv8tion.jda.api.interactions.commands.build.OptionData; | ||
|
||
public class CryCommand extends Command implements ICommand, ICommandInteraction { | ||
|
||
public CryCommand(final CafeBot cafeBot) { | ||
super(cafeBot); | ||
} | ||
|
||
@Override | ||
public void handle(SlashCommandInteractionEvent event) { | ||
this.handleInteraction(InteractionType.CRY, event, cafeBot); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "cry"; | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return "Cry because of someone... :("; | ||
} | ||
|
||
@Override | ||
public OptionData[] getOptions() { | ||
return new OptionData[] { | ||
new OptionData(OptionType.USER, "user", "The user who made you cry... :("), | ||
new OptionData(OptionType.STRING, "message", "An optional message to send.") | ||
}; | ||
} | ||
|
||
@Override | ||
public Permission[] getPermissions() { | ||
return new Permission[0]; | ||
} | ||
|
||
@Override | ||
public boolean isEphemeral() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean isNSFW() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean allowDM() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public String getSelfString() { | ||
return "%s is **crying**! S- someone get a tissue! 😓"; | ||
} | ||
|
||
@Override | ||
public String getOtherString() { | ||
return "%s is **crying** because of %s! What did you do?! <:cafeBot_angry:1171726164092518441>"; | ||
} | ||
|
||
@Override | ||
public String getBotString() { | ||
return "D- did I do something wrong?! Don't cry please... <a:b_cry:1178932384436060220>"; | ||
} | ||
|
||
@Override | ||
public String getFooterString() { | ||
return "%s cried because of others %d times. %s was the reason for others crying %d times."; | ||
} | ||
|
||
} |
82 changes: 82 additions & 0 deletions
82
src/main/java/com/beanbeanjuice/cafebot/commands/interaction/CuddleCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.beanbeanjuice.cafebot.commands.interaction; | ||
|
||
import com.beanbeanjuice.cafeapi.wrapper.endpoints.interactions.InteractionType; | ||
import com.beanbeanjuice.cafebot.CafeBot; | ||
import com.beanbeanjuice.cafebot.utility.commands.Command; | ||
import com.beanbeanjuice.cafebot.utility.commands.ICommand; | ||
import com.beanbeanjuice.cafebot.utility.sections.interactions.ICommandInteraction; | ||
import net.dv8tion.jda.api.Permission; | ||
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; | ||
import net.dv8tion.jda.api.interactions.commands.OptionType; | ||
import net.dv8tion.jda.api.interactions.commands.build.OptionData; | ||
|
||
public class CuddleCommand extends Command implements ICommand, ICommandInteraction { | ||
|
||
public CuddleCommand(final CafeBot cafeBot) { | ||
super(cafeBot); | ||
} | ||
|
||
@Override | ||
public void handle(SlashCommandInteractionEvent event) { | ||
this.handleInteraction(InteractionType.CUDDLE, event, cafeBot); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "cuddle"; | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return "Cuddle someone!"; | ||
} | ||
|
||
@Override | ||
public OptionData[] getOptions() { | ||
return new OptionData[] { | ||
new OptionData(OptionType.USER, "user", "The user you want to cuddle!~"), | ||
new OptionData(OptionType.STRING, "message", "An optional message you want to send") | ||
}; | ||
} | ||
|
||
@Override | ||
public Permission[] getPermissions() { | ||
return new Permission[0]; | ||
} | ||
|
||
@Override | ||
public boolean isEphemeral() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean isNSFW() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean allowDM() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public String getSelfString() { | ||
return "%s is **cuddling** themself... um.. that's sad... <:you_are_embarassing:1081417389532528660>"; | ||
} | ||
|
||
@Override | ||
public String getOtherString() { | ||
return "%s is **cuddling** %s~ Awww <a:aww_dance:1257143681044054066>"; | ||
} | ||
|
||
@Override | ||
public String getBotString() { | ||
return "Ugh. Only a few people are allowed to touch me and you're not one of them. Don't touch me. <:disgusted:1257142116539301909>"; | ||
} | ||
|
||
@Override | ||
public String getFooterString() { | ||
return "%s cuddled others %d times. %s was cuddled %d times."; | ||
} | ||
|
||
} |
Oops, something went wrong.