Archived
Dateien nach "commands/fun" hochladen
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user