Dateien nach "commands/variables" hochladen
This commit is contained in:
parent
e978f3c96d
commit
a25e912ae5
|
@ -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()
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
}
|
|
@ -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()
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue