parent
1f2e543bdb
commit
4e29b98ddf
@ -0,0 +1,7 @@
|
|||||||
|
import config from '../../config.json';
|
||||||
|
|
||||||
|
var exception_commands = [ 'banner' , 'help' ]
|
||||||
|
|
||||||
|
export const commandExclude = (command: string) => {
|
||||||
|
return config.excluded_commands.includes(command) && !(exception_commands.includes(command))
|
||||||
|
}
|
Loading…
Reference in new issue