Is there any difference in this code for removing the first letter from the variable? In this case, emojis.
const editFileName = String.fromCodePoint(interaction.channel.name.codePointAt(0));
const fileName = interaction.channel.name.replace(editFileName, '') + '.txt';
OR
const fileName = interaction.channel.name.substring(2) + '.txt';