KS-ADMINISTATOR Discord Bot Logo

KS-ADMINISTATOR Discord Bot

0

Full KS-ADMINISTATOR Bot guide, with invite link to add to your server, along with Gaming commands and any Discord bot upvote rewards.

0 upvotes in May

KS-ADMINISTATOR Discord Bot Described:

KS-Admin to super bot posiadający ponad 100 funkcji! Posiada wiele kategori komend np: Moderation FUn Economy Uwaga Bot W testach BETA!

const {
PREFIX
} = require(’…/config.json’);
const Discord = require(‘discord.js’)
const colors = require(’…/colors.json’)
const client = require(’…/index.js’)
const {
Collection
} = require(‘discord.js’)

module.exports = {
name: ‘help’,
description: ‘Wymień wszystkie moje polecenia lub informacje o konkretnym poleceniu.’,
aliases: [‘commands’],
category: ‘Utility’,
usage: ‘help [command]’,
cooldown: 5,
execute(message, args) {
const data = [];

	let categories = new Discord.Collection()

	if (!args.length) {
		message.client.commands.forEach(command => {
			const category = categories.get(command.category)
			if (category) {
				category.set(command.name, command)
			} else {
				categories.set(command.category, new Collection().set(command.name, command))
			}
		})

		const lines = categories.map((category, name) => `**${name}**: \n\`${category.map(command => command.name).join('`, `')}\``)

		let noArgEmbed = new Discord.MessageEmbed()
			.setThumbnail(message.guild.iconURL({dynamic: true}))
			.setDescription(`Chcesz dowiedzieć się więcej o poleceniu? \nDo \`${PREFIX}help <command>\` po więcej informacji!\`${PREFIX}help kick\`\n\n\`\`\`\n[] - Opcjonalnyl\n<> - wymagany\n\`\`\``)
			.addField("komendy: ", lines.join('\n'))
			.setColor(colors.gold)
			.setAuthor(message.author.tag, message.author.avatarURL({
				dynamic: true
			}))
			.setFooter(message.client.user.username, message.client.user.avatarURL())
			.setTitle(`${message.client.user.username} Bot Help`)

		return message.channel.send(noArgEmbed)
			.catch(error => {
				console.error(`Nie można wysłać pomocy do ${message.author.tag}.\n`, error);
			});
	}

	const name = args[0].toLowerCase();
	const command = commands.get(name) || commands.find(c => c.aliases && c.aliases.includes(name));

	if (!command) {
		return message.reply('that\'to nie jest prawidłowe polecenie!');
	}

	data.push(`**Name:** ${command.name}`);

	if (command.aliases) data.push(`**Aliases:** ${command.aliases.join(", ")}`);
	if (command.description) data.push(`**Description:** ${command.description}`);
	if (command.usage) data.push(`**Usage:** \`${PREFIX}${command.usage}\``);
	if (command.example) data.push(`**Example:** \`${PREFIX}${command.example}\``)
	if (command.required) data.push(`**Required Permission:**\`${command.required}\``)

	let helpEmbed = new Discord.MessageEmbed()
		.setTitle(":books: Command Help")
		.setDescription(data)
		.setColor(colors.gold)
		.setFooter(message.client.user.username, message.client.user.avatarURL())
	message.channel.send(helpEmbed)
},

};

Check out the home page for the full Discord Bot List.

Frequently Asked Questions

How do I add KS-ADMINISTATOR Discord Bot to my server?

You can add KS-ADMINISTATOR to your Discord Server by pressing 'Add KS-ADMINISTATOR Discord Bot' on this page.

More Discord Bots

Pokétwo Discord Bot Banner
Pokétwo Discord Bot Logo
4,197
1.5M

The Pokémon experience, on Discord. Catch, level, and evolve Pokémon, trade and battle with friends, and more. All free and open source.
Dank Memer Discord Bot Banner
Dank Memer Discord Bot Logo
2,318
9.2M

Meet the largest in-app indie game on Discord. A currency and fishing game for catching creatures, collecting items, robbing your friends, taking care of pets, building skills, and more!