mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 22:05:15 +00:00
Bug fixes
This commit is contained in:
parent
cbec7dcb84
commit
91a11f7f37
1 changed files with 5 additions and 10 deletions
|
|
@ -321,13 +321,13 @@ module.exports = async (client, message) => {
|
|||
new Discord.ButtonBuilder()
|
||||
.setLabel("Invite")
|
||||
.setURL(
|
||||
"https://discord.com/oauth2/authorize?&client_id=798144456528363550&scope=applications.commands+bot&permissions=8"
|
||||
client.config.discord.botInvite
|
||||
)
|
||||
.setStyle(Discord.ButtonStyle.Link),
|
||||
|
||||
new Discord.ButtonBuilder()
|
||||
.setLabel("Support server")
|
||||
.setURL("https://discord.gg/56FZySQaY7")
|
||||
.setURL(client.config.discord.serverInvite)
|
||||
.setStyle(Discord.ButtonStyle.Link)
|
||||
);
|
||||
|
||||
|
|
@ -337,11 +337,6 @@ module.exports = async (client, message) => {
|
|||
title: "Hi, i'm Bot",
|
||||
desc: `Use with commands via Discord ${client.emotes.normal.slash} commands`,
|
||||
fields: [
|
||||
{
|
||||
name: "📢┆Alert!",
|
||||
value: 'After more than 1 year we decided to stop Bot on April 15th, for more information go to [this server](https://discord.gg/techpoint)',
|
||||
inline: false,
|
||||
},
|
||||
{
|
||||
name: "📨┆Invite me",
|
||||
value: `Invite Bot in your own server! [Click here](${client.config.discord.botInvite})`,
|
||||
|
|
@ -404,15 +399,15 @@ module.exports = async (client, message) => {
|
|||
if (command) {
|
||||
let row = new Discord.ActionRowBuilder().addComponents(
|
||||
new Discord.ButtonBuilder()
|
||||
.setLabel("Invite")
|
||||
.setLabel("Invite")
|
||||
.setURL(
|
||||
"https://discord.com/oauth2/authorize?&client_id=798144456528363550&scope=applications.commands+bot&permissions=8"
|
||||
client.config.discord.botInvite
|
||||
)
|
||||
.setStyle(Discord.ButtonStyle.Link),
|
||||
|
||||
new Discord.ButtonBuilder()
|
||||
.setLabel("Support server")
|
||||
.setURL("https://discord.gg/56FZySQaY7")
|
||||
.setURL(client.config.discord.serverInvite)
|
||||
.setStyle(Discord.ButtonStyle.Link)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue