Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/text.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
enabled: "[yes] You are now on duty!"
disabled: "[yes] You are no longer on duty!"
}
slap: {
default: "HAH YOU GOT SLAPPED"
}
}
errors: {
exception: ":electric_plug: An internal error has occurred while running this command. Please report this to the developers of this bot."
Expand Down
24 changes: 24 additions & 0 deletions src/commands/fun/hug.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { MessageEmbed } from "discord.js";
import { text } from "../../providers/config";
import { mainChannels } from "../../providers/discord";
import { Command } from "../../structures/Command";
import { format } from "../../utils/string";

export const command = new Command("hug", "Give your friends a good hug.")
.addOption("string", o => o.setName("hug").setDescription("Hug your friends.").setRequired(true))
.setExecutor(async int => {
const nekos = new Client();
const yeeeee = await nekos.sfw.hug();
const slapped = int.options.getString("hug", true);
const tcfe = text.commands.feedback.embed;
await int.reply({
embeds: [
new MessageEmbed()
.setTitle("Bam someone got hugged")
.setImage(yeeeee.url)
.setDescription(`${slapped} got hugged by ${int.user.tag}`)
.setFooter({ text: format(tcfe.footer, int.user.tag), iconURL: int.user.displayAvatarURL() }),

],
});
});
24 changes: 24 additions & 0 deletions src/commands/fun/pat.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { MessageEmbed } from "discord.js";
import { text } from "../../providers/config";
import { mainChannels } from "../../providers/discord";
import { Command } from "../../structures/Command";
import { format } from "../../utils/string";

export const command = new Command("pat", "Give your friends a good Pat.")
.addOption("string", o => o.setName("pat").setDescription("Pat your friends.").setRequired(true))
.setExecutor(async int => {
const nekos = new Client();
const yeeeee = await nekos.sfw.pat();
const slapped = int.options.getString("pat", true);
const tcfe = text.commands.feedback.embed;
await int.reply({
embeds: [
new MessageEmbed()
.setTitle("Bam someone got patted")
.setImage(yeeeee.url)
.setDescription(`${slapped} got patted by ${int.user.tag}`)
.setFooter({ text: format(tcfe.footer, int.user.tag), iconURL: int.user.displayAvatarURL() }),

],
});
});
24 changes: 24 additions & 0 deletions src/commands/fun/slap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { MessageEmbed } from "discord.js";
import { text } from "../../providers/config";
import { mainChannels } from "../../providers/discord";
import { Command } from "../../structures/Command";
import { format } from "../../utils/string";

export const command = new Command("slap", "Give your friends a good slap.")
.addOption("string", o => o.setName("slap").setDescription("Slap your friends.").setRequired(true))
.setExecutor(async int => {
const nekos = new Client();
const yeeeee = await nekos.sfw.slap();
const slapped = int.options.getString("slap", true);
const tcfe = text.commands.feedback.embed;
await int.reply({
embeds: [
new MessageEmbed()
.setTitle("Bam someone got slapped")
.setImage(yeeeee.url)
.setDescription(`${slapped} got slapped by ${int.user.tag}`)
.setFooter({ text: format(tcfe.footer, int.user.tag), iconURL: int.user.displayAvatarURL() }),

],
});
});
24 changes: 24 additions & 0 deletions src/commands/fun/tickle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { MessageEmbed } from "discord.js";
import { text } from "../../providers/config";
import { mainChannels } from "../../providers/discord";
import { Command } from "../../structures/Command";
import { format } from "../../utils/string";

export const command = new Command("tickle", "Tickle your friends.")
.addOption("string", o => o.setName("tickle").setDescription("Tickle your friends.").setRequired(true))
.setExecutor(async int => {
const nekos = new Client();
const yeeeee = await nekos.sfw.tickle();
const slapped = int.options.getString("tickle", true);
const tcfe = text.commands.feedback.embed;
await int.reply({
embeds: [
new MessageEmbed()
.setTitle("Bam someone got tickled")
.setImage(yeeeee.url)
.setDescription(`${slapped} got tickled by ${int.user.tag}`)
.setFooter({ text: format(tcfe.footer, int.user.tag), iconURL: int.user.displayAvatarURL() }),

],
});
});