mirror of
https://github.com/Art-Portal/April.git
synced 2024-11-16 11:37:37 +01:00
Merge pull request #5 from Art-Portal/v4.5.1
Corrected a forgotten line
This commit is contained in:
commit
d8268d4025
@ -173,7 +173,8 @@ module.exports = {
|
||||
.setEmoji("🔒")
|
||||
.setCustomId(`ticket_close-${interaction.customId.replace("ticket_","").split("-")[2]}`),
|
||||
]);
|
||||
await interaction.channel.setName(interaction.channel.name.replace("🟢",""));
|
||||
const artistUntake = await client.database.artists.findOne({ where: { name: interaction.user.id } });
|
||||
await interaction.channel.setName(interaction.channel.name.replace(artistUntake ? artistUntake.emoji :"🟢",""));
|
||||
await interaction.followUp({ embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor({ name: interaction.user.tag, iconURL: interaction.user.avatarURL() })
|
||||
|
Loading…
Reference in New Issue
Block a user