-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f220cf4
commit bdef8ff
Showing
7 changed files
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { SlashCommandBuilder } from "@discordjs/builders"; | ||
|
||
const helpCommand = new SlashCommandBuilder() | ||
.setName('help') | ||
.setDescription('Usado para ver os comandos e informações') | ||
|
||
export default helpCommand.toJSON(); | ||
|
||
// const Discord = require("discord.js"); | ||
// const embed = new Discord.MessageEmbed(); | ||
// const {comandos, prefix} = require("../../data/config.json"); | ||
|
||
// module.exports.run = async (bot, message, args) => { | ||
// const novaLinha = "\n"; | ||
|
||
// let info = "ℹ️__**prefixo:**__ " + prefix + novaLinha; | ||
|
||
// // Iterar sobre cada comando no JSON | ||
// comandos.forEach((comando) => { | ||
// info += "__**"+comando.title+"**__" + | ||
// novaLinha + | ||
// comando.description + | ||
// novaLinha | ||
// }); | ||
|
||
// embed.setTitle(`**__PAINEL DE AJUDA__**`); | ||
// embed.setColor("#FF00FF"); | ||
// embed.setDescription(info); | ||
// embed.setTimestamp(); | ||
|
||
// message.delete().catch((O_o) => {}); | ||
// message.channel.send(embed); | ||
// }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { SlashCommandBuilder } from "@discordjs/builders"; | ||
|
||
const pingCommand = new SlashCommandBuilder() | ||
.setName('ping') | ||
.setDescription('Usado para ver o leg e latencia do bot') | ||
|
||
export default pingCommand.toJSON(); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters