add kyzaify to songinfo
This commit is contained in:
parent
e18bebd0a5
commit
b405228996
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import {
|
||||||
SlashCommandBuilder
|
SlashCommandBuilder
|
||||||
} from "discord.js";
|
} from "discord.js";
|
||||||
import { Config } from "../config.ts";
|
import { Config } from "../config.ts";
|
||||||
import {getSongOnPreferredProvider} from "../helper.ts";
|
import {getSongOnPreferredProvider, kyzaify} from "../helper.ts";
|
||||||
|
|
||||||
export default class MusicInfoCommand extends Command {
|
export default class MusicInfoCommand extends Command {
|
||||||
async run(interaction: ChatInputCommandInteraction, config: Config) {
|
async run(interaction: ChatInputCommandInteraction, config: Config) {
|
||||||
|
|
@ -30,7 +30,7 @@ export default class MusicInfoCommand extends Command {
|
||||||
currentRow.addComponents(
|
currentRow.addComponents(
|
||||||
new ButtonBuilder()
|
new ButtonBuilder()
|
||||||
.setURL(info.linksByPlatform[meowi].url)
|
.setURL(info.linksByPlatform[meowi].url)
|
||||||
.setLabel(meowi)
|
.setLabel(kyzaify(meowi))
|
||||||
.setStyle(ButtonStyle.Link)
|
.setStyle(ButtonStyle.Link)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue