diff --git a/commands/fun/Lol b/commands/fun/Lol new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/commands/fun/Lol @@ -0,0 +1 @@ + diff --git a/commands/fun/advice.js b/commands/fun/advice.js new file mode 100644 index 0000000..6d224de --- /dev/null +++ b/commands/fun/advice.js @@ -0,0 +1,14 @@ +const { Random } = require("something-random-on-discord") +const random = new Random(); + +module.exports = { + name: "advice", + category: "fun", + description: "Lassen Sie sich beraten", + run: async (client, message, args) => { + + let data = await random.getAdvice() + message.channel.send(data) + + } +} \ No newline at end of file diff --git a/commands/fun/asci.js b/commands/fun/asci.js new file mode 100644 index 0000000..1946ebb --- /dev/null +++ b/commands/fun/asci.js @@ -0,0 +1,28 @@ +const discord = require("discord.js"); +const figlet = require("figlet"); // MAKE SURE TO INSTALL FIGLET PACKAGE OR CODE WONT WORK + +module.exports = { + name: "ascii", + aliases: [], + category: "fun", + usage: "ascii ", + description: "Gibt bereitgestellten Text im ASCII-Format zurück.", + run: async (client, message, args) => { + + let text = args.join(" "); + if(!text) { +return message.channel.send(`Bitte Text für die ASCII-Konvertierung angeben!`) +} + let maxlen = 20 +if(text.length > 20) { +return message.channel.send(`Bitte geben Sie Text mit 20 Zeichen oder weniger ein, da die Konvertierung nicht gut sein wird!`) +} + // AGAIN, MAKE SURE TO INSTALL FIGLET PACKAGE! +figlet(text, function(err, data) { +message.channel.send(data, { +code: 'AsciiArt' +}); +}) + + } +}; \ No newline at end of file diff --git a/commands/fun/cat.js b/commands/fun/cat.js new file mode 100644 index 0000000..aed4e61 --- /dev/null +++ b/commands/fun/cat.js @@ -0,0 +1,23 @@ +const superagent = require("snekfetch"); +const Discord = require('discord.js') + + +module.exports = { + name: "cat", + category: "fun", +description: "Sendet ein zufälliges Bild einer Katze", +usage: "[command]", +run: async (client, message, args, level) => { +//command +superagent.get('https://nekos.life/api/v2/img/meow') + .end((err, response) => { + const lewdembed = new Discord.MessageEmbed() + .setTitle("Random cat") + .setImage(response.body.url) + .setColor(`#000000`) + .setFooter(`owo`) + .setURL(response.body.url); +message.channel.send(lewdembed); +}) +} +}; \ No newline at end of file diff --git a/commands/fun/cry.js b/commands/fun/cry.js new file mode 100644 index 0000000..c6ea869 --- /dev/null +++ b/commands/fun/cry.js @@ -0,0 +1,21 @@ +const discord = require("discord.js"); +const { Random } = require("something-random-on-discord"); +const random = new Random(); + +module.exports = { + name: "cry", + category: "fun", + description: "Weinen mit gif", + run: async (client, message, args) => { + + let data = await random.getAnimeImgURL("cry"); + + let embed = new discord.MessageEmbed() + .setImage(data) + .setColor("RANDOM") + .setFooter(`Bitte rede mit ${message.author.username} sie weinen`) + .setTimestamp() + + message.channel.send(embed); + } +}; \ No newline at end of file diff --git a/commands/fun/dog.js b/commands/fun/dog.js new file mode 100644 index 0000000..3055fed --- /dev/null +++ b/commands/fun/dog.js @@ -0,0 +1,24 @@ +const superagent = require("snekfetch"); +const Discord = require('discord.js') + + + +module.exports = { + name: "dog", + category: "fun", +description: "Sendet ein zufälliges Hundebild", +usage: "[command]", +run: async (client, message, args) => { +//command +superagent.get('https://nekos.life/api/v2/img/woof') + .end((err, response) => { + const lewdembed = new Discord.MessageEmbed() + .setTitle("") + .setImage(response.body.url) + .setColor(`#000000`) + .setFooter(`🤣WAS FÜR EIN HUND🤣`) + .setURL(response.body.url); +message.channel.send(lewdembed); +}) +} +}; \ No newline at end of file diff --git a/commands/fun/fact.js b/commands/fun/fact.js new file mode 100644 index 0000000..1bcd9b5 --- /dev/null +++ b/commands/fun/fact.js @@ -0,0 +1,26 @@ +const client = require('nekos.life'); +const {Discord,richEmbed} = require('discord.js') +const neko = new client(); + + +module.exports = { + name: "fact", + category: "fun", + description: "sendet eine coole Tatsache", + usage: "[command]", + run: async (client, message, args) => { + //command + + async function work() { + + let owo = (await neko.sfw.fact()); + + message.channel.send(owo.fact).catch(error => { + console.error(error); + }); +message.delete(); + } + + work(); + } + }; \ No newline at end of file diff --git a/commands/fun/hug.js b/commands/fun/hug.js new file mode 100644 index 0000000..19cbc24 --- /dev/null +++ b/commands/fun/hug.js @@ -0,0 +1,23 @@ +const discord = require("discord.js"); +const { Random } = require("something-random-on-discord"); +const random = new Random(); + +module.exports = { + name: "hug", + category: "fun", + description: "Jemanden umarmen", + run: async (client, message, args) => { + + let target = message.mentions.members.first() + + let data = await random.getAnimeImgURL("hug"); + + let embed = new discord.MessageEmbed() + .setImage(data) + .setColor("RANDOM") + .setFooter(`${message.author.username} umarmt ${target.user.username}`) + .setTimestamp() + + message.channel.send(embed); + } +}; \ No newline at end of file diff --git a/commands/fun/joke.js b/commands/fun/joke.js new file mode 100644 index 0000000..573eb36 --- /dev/null +++ b/commands/fun/joke.js @@ -0,0 +1,14 @@ +const { Random } = require("something-random-on-discord") +const random = new Random(); + +module.exports = { + name: "joke", + category: "fun", + description: "Holen Sie sich ein paar lustige Witze", + run: async (client, message, args) => { + + let data = await random.getJoke() + message.channel.send(data) + + } +} \ No newline at end of file diff --git a/commands/fun/kiss.js b/commands/fun/kiss.js new file mode 100644 index 0000000..9ff3be1 --- /dev/null +++ b/commands/fun/kiss.js @@ -0,0 +1,23 @@ +const discord = require("discord.js"); +const { Random } = require("something-random-on-discord"); +const random = new Random(); + +module.exports = { + name: "kiss", + category: "fun", + description: "Küsse jemanden", + run: async (client, message, args) => { + + let target = message.mentions.members.first() + + let data = await random.getAnimeImgURL("kiss"); + + let embed = new discord.MessageEmbed() + .setImage(data) + .setColor("RANDOM") + .setFooter(`${message.author.username} küsst ${target.user.username}`) + .setTimestamp() + + message.channel.send(embed); + } +}; \ No newline at end of file diff --git a/commands/fun/kpop.js b/commands/fun/kpop.js new file mode 100644 index 0000000..87c020f --- /dev/null +++ b/commands/fun/kpop.js @@ -0,0 +1,14 @@ +const { Random } = require("something-random-on-discord") +const random = new Random(); + +module.exports = { + name: "kpop", + category: "fun", + description: "Holen Sie sich einige Bilder von Kpop-Sängern mit Namen", + run: async (client, message, args) => { + + let data = await random.getKpop() + message.channel.send(data) + + } +} \ No newline at end of file diff --git a/commands/fun/lol.js b/commands/fun/lol.js new file mode 100644 index 0000000..ca6a9bd --- /dev/null +++ b/commands/fun/lol.js @@ -0,0 +1,46 @@ +const Discord = require("discord.js"); +const { parse } = require("twemoji-parser"); + + +module.exports = { + name: "emojiadd", + category: "moderation", + usage: "stealemoji ", + description: "Stehlen Sie ein Emoji von einem anderen Server", + botPermissions: ["MANAGE_EMOJIS"], + memberPermissions: ["MANAGE_EMOJIS"], + async execute(bot, message, args) { + const emoji = args[0]; + if (!emoji) return message.channel.send("Bitte gib mir ein Emoji!"); + + let customemoji = Discord.Util.parseEmoji(emoji); + + if (customemoji.id) { + const Link = `https://cdn.discordapp.com/emojis/${customemoji.id}.${ + customemoji.animated ? "gif" : "png" + }`; + const name = args.slice(1).join(" "); + + message.guild.emojis.create( + `${Link}`, + `${name || `${customemoji.name}`}` + ); + const Added = BaseEmbed(message) + .setTitle("Emoji Added") + .setColor("BLUE") + .setDescription( + `Emoji wurde hinzugefügt! | Name : ${ + name || `${customemoji.name}` + } | Preview : [Click Me](${Link})` + ); + return message.channel.send(Added); + } else { + let CheckEmoji = parse(emoji, { assetType: "png" }); + if (!CheckEmoji[0]) + return message.channel.send("Bitte gib mir ein gültiges Emoji!"); + message.channel.send( + "Sie können normales Emoji verwenden, ohne einen Server hinzuzufügen!" + ); + } + }, +}; \ No newline at end of file diff --git a/commands/fun/math.js b/commands/fun/math.js new file mode 100644 index 0000000..02523ed --- /dev/null +++ b/commands/fun/math.js @@ -0,0 +1,23 @@ +const { MessageEmbed } = require("discord.js"); +const math = require("mathjs"); +const Color = `RANDOM`; + +module.exports = { + name: "math", + category: "fun", + run: async (client, message, args) => { + try { + if (!args[0]) return message.channel.send("Bitte geben Sie mir Gleichung!"); + + const embed = new MessageEmbed() + .setColor(`${Color}`) + .setTitle(`Ergebnis`) + .setDescription(math.evaluate(args.join(" "))) + .setTimestamp(); + + message.channel.send(embed); + } catch (error) { + message.channel.send(`Bitte geben Sie mir eine gültige Gleichung | Versuchen Sie es später noch einmal!`).then(() => console.log(error)); + } + } +}; \ No newline at end of file diff --git a/commands/fun/meme.js b/commands/fun/meme.js new file mode 100644 index 0000000..f0bcf93 --- /dev/null +++ b/commands/fun/meme.js @@ -0,0 +1,47 @@ +const Discord = require("discord.js"); +const { MessageEmbed } = require("discord.js"); +const Color = `RANDOM`; +const Fetch = require("node-fetch"); //Install Node-fetch - npm i node-fetch + +module.exports = { + name: "meme", + category: "fun", + description: "Senden Sie ein Meme!", + usage: "Meme", + run: async (client, message, args) => { + + //Start + + const Reds = [ + "memes", + "me_irl", + "dankmemes", + "comedyheaven", + "Animemes" + ]; + + const Rads = Reds[Math.floor(Math.random() * Reds.length)]; + + const res = await Fetch(`https://www.reddit.com/r/${Rads}/random/.json`); + + const json = await res.json(); + + if (!json[0]) return message.channel.send(`Ihr Leben Lmfao`); + + const data = json[0].data.children[0].data; + + const Embed = new MessageEmbed() + .setColor(Color) + .setURL(`https://reddit.com${data.permalink}`) + .setTitle(data.title) + .setDescription(`Author : ${data.author}`) + .setImage(data.url) + .setFooter(`${data.ups || 0} 👍 | ${data.downs || 0} 👎 | ${data.num_comments || 0} 💬`) + .setTimestamp(); + + return message.channel.send(Embed); + + //End + + } +}; diff --git a/commands/fun/mw.js b/commands/fun/mw.js new file mode 100644 index 0000000..cbc8925 --- /dev/null +++ b/commands/fun/mw.js @@ -0,0 +1,16 @@ +const discord = require("discord.js"); +const akaneko = require('akaneko'); + +module.exports = { + name: "mwallpapers", + aliases: ["mw", "mobilewallpapers", "mwall"], + category: "nsfw", + description: "Holen Sie sich einige wallpapers", + run: async (client, message, args) => { + + let akanekoSan = new discord.MessageEmbed() + akanekoSan.setColor("RANDOM") + akanekoSan.setImage(akaneko.mobileWallpapers()); + return message.channel.send(akanekoSan); + } +} \ No newline at end of file diff --git a/commands/fun/neko.js b/commands/fun/neko.js new file mode 100644 index 0000000..c345d26 --- /dev/null +++ b/commands/fun/neko.js @@ -0,0 +1,14 @@ +const { Random } = require("something-random-on-discord") +const random = new Random(); + +module.exports = { + name: "neko", + category: "Image", + description: "Holen Sie sich einige Neko-Bilder", + run: async (client, message, args) => { + + let data = await random.getNeko() + message.channel.send(data) + + } +} \ No newline at end of file diff --git a/commands/fun/pat.js b/commands/fun/pat.js new file mode 100644 index 0000000..76de691 --- /dev/null +++ b/commands/fun/pat.js @@ -0,0 +1,23 @@ +const discord = require("discord.js"); +const { Random } = require("something-random-on-discord"); +const random = new Random(); + +module.exports = { + name: "pat", + category: "fun", + description: "Jemanden streicheln", + run: async (client, message, args) => { + + let target = message.mentions.members.first() + + let data = await random.getAnimeImgURL("streicheln"); + + let embed = new discord.MessageEmbed() + .setImage(data) + .setColor("RANDOM") + .setFooter(`${message.author.username} streichelt ${target.user.username}`) + .setTimestamp() + + message.channel.send(embed); + } +}; \ No newline at end of file diff --git a/commands/fun/punch.js b/commands/fun/punch.js new file mode 100644 index 0000000..bc4abb7 --- /dev/null +++ b/commands/fun/punch.js @@ -0,0 +1,23 @@ +const discord = require("discord.js"); +const { Random } = require("something-random-on-discord"); +const random = new Random(); + +module.exports = { + name: "punch", + category: "fun", + description: "Jemanden schlagen", + run: async (client, message, args) => { + + let target = message.mentions.members.first() + + let data = await random.getAnimeImgURL("schlagen"); + + let embed = new discord.MessageEmbed() + .setImage(data) + .setColor("RANDOM") + .setFooter(`${message.author.username} schlägt ${target.user.username}`) + .setTimestamp() + + message.channel.send(embed); + } +}; diff --git a/commands/fun/slapgif.js b/commands/fun/slapgif.js new file mode 100644 index 0000000..ef60f28 --- /dev/null +++ b/commands/fun/slapgif.js @@ -0,0 +1,26 @@ + +const Color = "RANDOM"; +const Discord = require("discord.js"); + +module.exports = { + name: "slap", + aliases: ["batmanslap", "slp"], + category: "Image", + description: "Geben Sie ein Slap-Bild zurück!", + usage: "Slap | ", + run: async (client, message, args) => { + + const Member = message.mentions.members.first() || message.guild.members.cache.get(args[0]); + if (!Member) return message.channel.send("Bitte erwähnen oder ID eines Mitglieds angeben!"); + + const Other = args.slice(1).join(" ") || "Don't Be Gay"; + if (Other.length > 50) return message.channel.send("Zeichenlimit erreicht - 50!"); + + const Embed = new Discord.MessageEmbed() + .setColor(Color) + .setImage(encodeURI(`https://vacefron.nl/api/batmanslap?text1=bruh&text2=${Other}&batman=${message.author.avatarURL({ format: "png" })}&robin=${Member.user.displayAvatarURL({ format: "png" })}`)) + .setTimestamp(); + + return message.channel.send(Embed); + } +};