Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Jun 26, 2023
1 parent dce9ac6 commit a073fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/mod/slowmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.run = async (client, interaction) => {
];

if (!interaction.member.permissions.has("MANAGE_CHANNELS") && !adminBool) return sendMessage({ client: client, interaction: interaction, content: globalVars.lackPerms });
if (!slowmodeSupportedChannelTypes.has(interaction.channel.type)) return sendMessage({ client: client, interaction: interaction, content: `This channel type doesn't support slowmode.` });
if (!slowmodeSupportedChannelTypes.includes(interaction.channel.type)) return sendMessage({ client: client, interaction: interaction, content: `This channel type doesn't support slowmode.` });

let time = interaction.options.getInteger("time");
let slowmodeMaxSeconds = 21600;
Expand Down

0 comments on commit a073fd4

Please sign in to comment.