Skip to content

Commit

Permalink
add user mention
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-flip committed Jul 23, 2024
1 parent cdac0d6 commit 03be29e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports.run = async (interaction) => {
// remvove user reaction
const channel = await interaction.guild.channels.cache.get(config.checkin.reaction.channel);
const message = await channel.messages.fetch(config.checkin.reaction.message);
const content = `# ${message.content.split('# ')[2]}`;
const content = `<@${interaction.channel.name}>\n\n# ${message.content.split('# ')[2]}`;

interaction.channel.send(content);
messageSuccess(interaction, 'Instructions sent.', undefined, true);
Expand Down

0 comments on commit 03be29e

Please sign in to comment.