Compare commits

..

2 Commits

Author SHA1 Message Date
imbwbl
e081330f79 Merge branch 'main' of https://git.tarkacore.dev/b/1m04bot 2024-01-18 23:06:58 +01:00
imbwbl
8fdd151c71 separt the two command 2024-01-18 23:05:52 +01:00
2 changed files with 86 additions and 12 deletions

58
commands/femboy.js Normal file
View File

@ -0,0 +1,58 @@
import { SlashCommandBuilder} from "discord.js";
export const data = new SlashCommandBuilder()
.setName('femboy')
.setDescription('femboy penis porno')
export async function execute(interaction, defer=false) {
if (!defer) await interaction.deferReply()
if (interaction.channel.nsfw) {
const options = {
method: 'GET',
headers: {cookie: '__ddg1_=Go9PkjVipnvcmvVee5Qq', 'User-Agent': 'insomnia/8.5.1'}
};
const userList = [
"f1nn5ter",
"kianavi",
"itspurplebitch",
"averyellisxo",
"astolfitoliz",
"trappy-chan",
"trappybae",
"ickyy",
]
const userListIndex = Math.floor(Math.random() * userList.length)
const getLink = await fetch(`https://coomer.party/api/v1/onlyfans/user/${userList[userListIndex]}`, options)
.then(response => response.json())
.then(response => {
let i = Math.floor(Math.random() * response.length)
let ip = Math.floor(Math.random() * response[i].attachments.length)
if (response.length === 0 || response[i].attachments.length === 0) {
return null
}
return "https://coomer.su" + response[i].attachments[ip].path
})
if (!getLink) {
return execute(interaction, true)
}
await fetch(getLink, options)
.then(response => {
interaction.editReply({
content: '',
files: [{
attachment: response.body,
name: 'image.png'
}]
});
})
} else {
interaction.reply({
content: "This command can only be used in NSFW channels",
ephemeral: true
})
}
}

View File

@ -2,7 +2,7 @@ import { SlashCommandBuilder} from "discord.js";
export const data = new SlashCommandBuilder() export const data = new SlashCommandBuilder()
.setName('porn') .setName('porn')
.setDescription('negros penis porno') .setDescription('reel women prono')
export async function execute(interaction, defer=false) { export async function execute(interaction, defer=false) {
if (!defer) await interaction.deferReply() if (!defer) await interaction.deferReply()
if (interaction.channel.nsfw) { if (interaction.channel.nsfw) {
@ -12,20 +12,36 @@ export async function execute(interaction, defer=false) {
headers: {cookie: '__ddg1_=Go9PkjVipnvcmvVee5Qq', 'User-Agent': 'insomnia/8.5.1'} headers: {cookie: '__ddg1_=Go9PkjVipnvcmvVee5Qq', 'User-Agent': 'insomnia/8.5.1'}
}; };
const userListG = [ const userList = [
/*"f1nn5ter", "belledelphine",
"kianavi", "bigtittygothegg",
"itspurplebitch", "lee.ava",
"averyellisxo", "sweetiefox_of",
"astolfitoliz", "hannahowo",
"trappy-chan", "sierralisabeth",
"trappybae",*/ "himetsu",
"ickyy", "anaimiya",
"kittyxkum",
"bishoujomom",
"hongkongdoll",
"me1adinha",
"harpermadi",
"amouranth",
"cherrycrush",
"hidorirose",
"evaelfie",
"morgpie",
"hitomi_official",
"Morgpie",
"projektbutt",
"cassie0pia",
"soogsx",
"anriokita_real"
] ]
const userListGIndex = Math.floor(Math.random() * userListG.length) const userListIndex = Math.floor(Math.random() * userList.length)
const getLink = await fetch(`https://coomer.party/api/v1/onlyfans/user/${userListG[userListGIndex]}`, options) const getLink = await fetch(`https://coomer.party/api/v1/onlyfans/user/${userList[userListIndex]}`, options)
.then(response => response.json()) .then(response => response.json())
.then(response => { .then(response => {
let i = Math.floor(Math.random() * response.length) let i = Math.floor(Math.random() * response.length)