separt the two command

This commit is contained in:
imbwbl 2024-01-18 22:43:44 +01:00
parent e32dbec108
commit 8fdd151c71
7 changed files with 86 additions and 49 deletions

5
.idea/.gitignore vendored
View File

@ -1,5 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="Node.js Core" />
</component>
</project>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/1m04.iml" filepath="$PROJECT_DIR$/.idea/1m04.iml" />
</modules>
</component>
</project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

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()
.setName('porn')
.setDescription('negros penis porno')
.setDescription('reel women prono')
export async function execute(interaction, defer=false) {
if (!defer) await interaction.deferReply()
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'}
};
const userListG = [
/*"f1nn5ter",
"kianavi",
"itspurplebitch",
"averyellisxo",
"astolfitoliz",
"trappy-chan",
"trappybae",*/
"ickyy",
const userList = [
"belledelphine",
"bigtittygothegg",
"lee.ava",
"sweetiefox_of",
"hannahowo",
"sierralisabeth",
"himetsu",
"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 => {
let i = Math.floor(Math.random() * response.length)