Dateien nach "commands/fun" hochladen

This commit is contained in:
2024-02-07 14:45:22 +00:00
parent 96b5cf5e8e
commit 8d18235233
19 changed files with 429 additions and 0 deletions
+26
View File
@@ -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();
}
};