---------------------------------------------------------------------
const logChannel = interaction.options.getChannel(`channel`) || null;
---------------------------------------------------------------------
{
type: 2,
metadata: {
durationSeconds: 0,
channel: logChannel,
customMessage: 'This message was prevented.',
},
},
---------------------------------------------------------------------
const logChannel = interaction.options.getChannel(`channel`) || null;
---------------------------------------------------------------------
{
type: 2,
metadata: {
durationSeconds: 0,
channel: logChannel,
customMessage: 'This message was prevented.',
},
},