mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 11:15:05 +00:00
Typescript Continuum
This commit is contained in:
1 parent
0e62861e33
commit
c584e3632e
33 files changed
+152
-94
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { EmbedBuilder } from "discord.js";
|
||||
import { ChatInputCommandInteraction, ColorResolvable, EmbedBuilder } from "discord.js";
|
||||
import RadioClient from "../../Client";
|
||||
|
||||
export default {
|
||||
name: 'help',
|
||||
description: 'Get help using bot',
|
||||
category: 'info',
|
||||
execute(interaction: any, client: any) {
|
||||
execute(interaction: ChatInputCommandInteraction, client: RadioClient) {
|
||||
let message: any = {};
|
||||
|
||||
const categories : any= [];
|
||||
@@ -22,7 +23,7 @@ export default {
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle(message.helpTitle)
|
||||
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, ''))
|
||||
.setColor(client.config.embedColor)
|
||||
.setColor(client.config.embedColor as ColorResolvable)
|
||||
.setDescription(message.helpDescription)
|
||||
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
|
||||
.setFooter({
|
||||
|
||||
Reference in new issue
Block a user