Dateien nach "commands/variables" hochladen

This commit is contained in:
M_Viper 2024-02-07 14:49:31 +00:00
parent e978f3c96d
commit a25e912ae5
2 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,28 @@
const db = require("quick.db");
const Discord = require ("discord.js")
const { version: discordjsVersion } = require('discord.js');
module.exports = {
name: "variable",
category: "variables",
aliases: ['variable'],
description: 'Zeigt Bot-Variablen an',
run: async (client, message, args ) => {
message.delete();
message.channel.send(new Discord.MessageEmbed()
.setColor('RANDOM')
.setTitle(`Variables`)
.setThumbnail(client.user.displayAvatarURL({ dynamic: true }))
.addField('Greet-Variablen', `"s!variables-greet"`, true)
.addField('Invites Tracker Variables(coming soon)', `"s!variables-invites"`, true)
.addField('Giveaway Variables', `"s!variables-giveaway(bald verfügbar)"`, true)
.setFooter(
`Difficult-Knights BOT`,
client.user.displayAvatarURL(),
message.delete()
)
);
}
}

View File

@ -0,0 +1,41 @@
const db = require("quick.db");
const Discord = require ("discord.js")
const { version: discordjsVersion } = require('discord.js');
module.exports = {
name: "variable-greet",
category: "variables",
aliases: ['variable'],
description: 'Zeigt Bot-Variablen an',
run: async (client, message, args ) => {
message.delete();
message.channel.send(new Discord.MessageEmbed()
.setColor('RANDOM')
.setTitle(`**${message.author.tag}**`)
.addField(
"__** Benutzerdefinierte Begrüßungsnachricht**__",
"Die benutzerdefinierten Nachrichtenvariablen, die Sie verwenden können, wenn jemand beitritt. HINWEIS: Diese Variablen können auch in einer Beitrittsnachricht verwendet werden"
)
.addField(
"** Beispiel**",
"[member:mention] Willkommen bei [guild:name]"
)
.addField(
"** Variables**",
"`[member:mention] => ping member`"
)
.addField(
"`[guild:name] => zeigt den Gildennamen an`",
"`[guild:membercount] => zeigt Gildenmitgliederzahl an`"
)
.setThumbnail(client.user.displayAvatarURL())
.setTimestamp()
.setFooter(
`Difficult-Knights BOT`,
client.user.displayAvatarURL()
)
);
}
}