DiscordSRV

DiscordSRV

86.8k Downloads

DiscordConsoleChannelBlacklistedCommands doesn't support multiple words

JHarris12345 opened this issue ยท 0 comments

commented

Expected behavior

A command in "DiscordConsoleChannelBlacklistedCommands" and the whitelist is set to true with multiple words like "mv reload" won't be whitelisted

Actual behavior

If a command like "mv list" is in the "DiscordConsoleChannelBlacklistedCommands" and the whitelist is set to true, it won't whitelist the command

Steps to reproduce

  1. Set DiscordConsoleChannelBlacklistActsAsWhitelist: true
  2. Set DiscordConsoleChannelBlacklistedCommands: ["mv reload"] (or something with 2 words)

It wont be possible to do it from console channels

Server software and version

Airplane-110 1.17.1

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.

Anything else

No response