guh
This commit is contained in:
parent
2bfaa4288e
commit
fae08327b9
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ module.exports = {
|
|||
const tags = (interaction.options.getString("tags") ?? "").split(" ");
|
||||
const containsBlacklist = tags.filter(i => blacklist.includes(i));
|
||||
if (containsBlacklist.length > 0) {
|
||||
await interaction.followUp(`searched for blacklisted tag(s): \`${containsBlacklist.join(", ")}\`.\n-# this incident will be reported.`);
|
||||
await interaction.followUp(`Search included blacklisted tag(s): \`${containsBlacklist.join(", ")}\`.\n-# This incident will be reported.`);
|
||||
var incidentChannel = interaction.client.channels.cache.get(process.env.INCIDENT_CHANNEL);
|
||||
if (incidentChannel) {
|
||||
incidentChannel.send(`User \`${interaction.user.username}\` (<@${interaction.user.id}>) searched for blacklisted tags:\n\`${containsBlacklist.join(", ")}\``);
|
||||
|
|
Loading…
Reference in a new issue