mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-01-11 08:05:46 +00:00
Add replace method to messages variable
This commit is contained in:
@@ -9,9 +9,10 @@ export default {
|
||||
let message: any = {};
|
||||
|
||||
if(!client.stations) {
|
||||
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
|
||||
return interaction.reply({
|
||||
content: client.messages.emojis["error"] + message.errorToGetPlaylist,
|
||||
content: client.messages.emojis["error"] + client.messages.replace(client.messages.errorToGetPlaylist, {
|
||||
"%client.config.supportGuild%": client.config.supportGuild
|
||||
}),
|
||||
ephemeral: true
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user