-
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
f4b5831
commit 6c955ad
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
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,36 @@ | ||
module.exports = { | ||
name: 'info', | ||
description: 'Display information about the bot', | ||
async execute(client, message) { | ||
const developers = (await Promise.all(client.config.developers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
message.channel.send({ | ||
embeds: [{ | ||
title: 'Info', | ||
color: client.config.color, | ||
fields: [ | ||
{ | ||
name: 'G.A.S Bot', | ||
value: 'G.A.S Bot was created to defeat the letter G.' | ||
}, | ||
{ | ||
name: 'G Removal', | ||
value: 'By default, it removes standalone G, and it can be chanqed to three different detection levels' | ||
}, | ||
{ | ||
name: '<:VerifiedBotDev:855104541967384616> Developers', | ||
value: developers, | ||
inline: true | ||
}, | ||
{ | ||
name: '💻 Technoloqy', | ||
value: `<:gas_new:855788595830194196> [G.A.S Bot](${client.generateInvite(client.config.invite)}) \`v${require('../../package.json').version}\`\n<:djs:893948932651118653> [discord.js](https://discord.js.org/) \`v${require('discord.js').version}\`\n<:node:893952060205178941> [node.js](https://nodejs.org/) \`${process.version}\``, | ||
inline: true | ||
} | ||
], | ||
thumbnail: { | ||
url: client.user.displayAvatarURL() | ||
} | ||
}] | ||
}); | ||
} | ||
}; |
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,35 @@ | ||
module.exports = { | ||
name: 'info', | ||
async execute(client, interaction) { | ||
const developers = (await Promise.all(client.config.developers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
interaction.reply({ | ||
embeds: [{ | ||
title: 'Info', | ||
color: client.config.color, | ||
fields: [ | ||
{ | ||
name: 'G.A.S Bot', | ||
value: 'G.A.S Bot was created to defeat the letter G.' | ||
}, | ||
{ | ||
name: 'G Removal', | ||
value: 'By default, it removes standalone G, and it can be chanqed to three different detection levels' | ||
}, | ||
{ | ||
name: '<:VerifiedBotDev:855104541967384616> Developers', | ||
value: developers, | ||
inline: true | ||
}, | ||
{ | ||
name: '💻 Technoloqy', | ||
value: `<:gas_new:855788595830194196> [G.A.S Bot](${client.generateInvite(client.config.invite)}) \`v${require('../../package.json').version}\`\n<:djs:893948932651118653> [discord.js](https://discord.js.org/) \`v${require('discord.js').version}\`\n<:node:893952060205178941> [node.js](https://nodejs.org/) \`${process.version}\``, | ||
inline: true | ||
} | ||
], | ||
thumbnail: { | ||
url: client.user.displayAvatarURL() | ||
} | ||
}] | ||
}); | ||
} | ||
}; |