Skip to content

Commit

Permalink
better fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Mar 27, 2024
1 parent 7af7543 commit c03825b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/moderation/migrate_warnings.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const migrateWarningsCommand: Command = {
const issuer = await interaction.guild.members.fetch(warning.issuerId).
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
interaction.channel.send(`!note ${warning.userId} ${warning.reason} | Migrated warning, Originally created at <t:${date}>, By ${issuer.username}`)
interaction.guild.channels.fetch("1133014478628343818").send(`!note ${warning.userId} ${warning.reason} | Migrated warning, Originally created at <t:${date}>, By ${issuer.username}`)
}
},
};

0 comments on commit c03825b

Please sign in to comment.