Skip to content

Commit

Permalink
Merge pull request #520 from UnpoeticNad/patch-2
Browse files Browse the repository at this point in the history
Update About.ts
  • Loading branch information
appujet authored Mar 24, 2024
2 parents 936664a + 61f4c5a commit 2b697a2
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/commands/info/About.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from 'discord.js';

import { Command, Context, Lavamusic } from '../../structures/index.js';

export default class About extends Command {
Expand Down Expand Up @@ -30,13 +29,14 @@ export default class About extends Command {
options: [],
});
}

public async run(client: Lavamusic, ctx: Context): Promise<any> {
const row = new ActionRowBuilder().addComponents(
new ButtonBuilder()
.setLabel('Invite Lavamusic')
.setStyle(ButtonStyle.Link)
.setURL(
`https://discord.com/api/oauth2/authorize?client_id=875635121770889257&permissions=8&scope=bot%20applications.commands`
`https://discord.com/api/oauth2/authorize?client_id=${client.config.clientId}&permissions=8&scope=bot%20applications.commands`
),
new ButtonBuilder()
.setLabel('Support Server')
Expand Down Expand Up @@ -83,14 +83,5 @@ export default class About extends Command {
components: [row],
});
}
}

/**
* Project: lavamusic
* Author: Blacky
* Company: Coders
* Copyright (c) 2023. All rights reserved.
* This code is the property of Coder and may not be reproduced or
* modified without permission. For more information, contact us at
* https://discord.gg/ns8CTk9J3e
*/
}

0 comments on commit 2b697a2

Please sign in to comment.