discord_bot/commands/info-search/dashboard.js

30 lines
939 B
JavaScript

const db = require("quick.db");
const Discord = require ("discord.js")
const { version } = require('../../package.json');
const ms = require('pretty-ms');
const { version: discordjsVersion } = require('discord.js');
module.exports = {
name: "dashboard",
category: "info",
aliases: ['dash', 'dashboard', 'dashboards'],
description: 'Check\'s bot\'s dashboard',
run: async (client, message, args, del, member) => {
const members = message.guild.members.cache;
message.channel.send(new Discord.MessageEmbed()
.setColor('RANDOM')
.setTitle(`${message.author.tag}`)
.setThumbnail(client.user.displayAvatarURL({ dynamic: true }))
.addField('**• Websites**', `**[Dash](https://Difficult-Knights.de/)**`, true)
.setTimestamp()
.setFooter(
`Difficult-Knights BOT`,
client.user.displayAvatarURL()
))
}
};