Advertisement
Nimbi

commands.ts

May 27th, 2022
597
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import * as SLOWMODE from '../config/commands/slowmode';
  2. import * as BANLIST from '../config/commands/banlist';
  3. import * as CLEAR from '../config/commands/clear';
  4. import * as BAN from '../config/commands/ban';
  5. import * as KICK from '../config/commands/kick';
  6. import * as ANNOUNCE from '../config/commands/announce';
  7. import * as HELP from '../config/commands/help';
  8.  
  9. export const SLOWMODE_COMMAND = {
  10.   ENABLED: true,
  11.   PASSWORD: false,
  12.   IN_HELP: true,
  13.   ON_ERROR_MESSAGE: true,
  14.   ONLY_BOT_CHAT_MESSAGE: false,
  15.   NAME: SLOWMODE.COMMAND.NAME,
  16.   ALIASES: SLOWMODE.COMMAND.ALIASES,
  17.   DESCRIPTION: SLOWMODE.COMMAND.DESCRIPTION,
  18.   BLACKLISTED_ROLES_CHANNEL: SLOWMODE.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  19.   WHITELISTED_ROLES: SLOWMODE.COMMAND.WHITELISTED_ROLES,
  20.   WHITELISTED_CHANNELS: SLOWMODE.COMMAND.WHITELISTED_CHANNELS,
  21.   COOLDOWN: SLOWMODE.COMMAND.COOLDOWN,
  22.   PERMISSIONS: SLOWMODE.COMMAND.PERMISSIONS,
  23. };
  24.  
  25. export const BAN_COMMAND = {
  26.   ENABLED: true,
  27.   PASSWORD: false,
  28.   IN_HELP: true,
  29.   ON_ERROR_MESSAGE: true,
  30.   ONLY_BOT_CHAT_MESSAGE: false,
  31.   NAME: BAN.COMMAND.NAME,
  32.   ALIASES: BAN.COMMAND.ALIASES,
  33.   DESCRIPTION: BAN.COMMAND.DESCRIPTION,
  34.   BLACKLISTED_ROLES_CHANNEL: BAN.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  35.   WHITELISTED_ROLES: BAN.COMMAND.WHITELISTED_ROLES,
  36.   WHITELISTED_CHANNELS: BAN.COMMAND.WHITELISTED_CHANNELS,
  37.   COOLDOWN: BAN.COMMAND.COOLDOWN,
  38.   PERMISSIONS: BAN.COMMAND.PERMISSIONS,
  39. };
  40.  
  41. export const BANLIST_COMMAND = {
  42.   ENABLED: true,
  43.   PASSWORD: false,
  44.   IN_HELP: true,
  45.   ON_ERROR_MESSAGE: true,
  46.   ONLY_BOT_CHAT_MESSAGE: false,
  47.   NAME: BANLIST.COMMAND.NAME,
  48.   ALIASES: BANLIST.COMMAND.ALIASES,
  49.   DESCRIPTION: BANLIST.COMMAND.DESCRIPTION,
  50.   BLACKLISTED_ROLES_CHANNEL: BANLIST.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  51.   WHITELISTED_ROLES: BANLIST.COMMAND.WHITELISTED_ROLES,
  52.   WHITELISTED_CHANNELS: BANLIST.COMMAND.WHITELISTED_CHANNELS,
  53.   COOLDOWN: BANLIST.COMMAND.COOLDOWN,
  54.   PERMISSIONS: BANLIST.COMMAND.PERMISSIONS,
  55. };
  56.  
  57. export const KICK_COMMAND = {
  58.   ENABLED: true,
  59.   PASSWORD: false,
  60.   IN_HELP: true,
  61.   ON_ERROR_MESSAGE: true,
  62.   ONLY_BOT_CHAT_MESSAGE: false,
  63.   NAME: KICK.COMMAND.NAME,
  64.   ALIASES: KICK.COMMAND.ALIASES,
  65.   DESCRIPTION: KICK.COMMAND.DESCRIPTION,
  66.   BLACKLISTED_ROLES_CHANNEL: KICK.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  67.   WHITELISTED_ROLES: KICK.COMMAND.WHITELISTED_ROLES,
  68.   WHITELISTED_CHANNELS: KICK.COMMAND.WHITELISTED_CHANNELS,
  69.   COOLDOWN: KICK.COMMAND.COOLDOWN,
  70.   PERMISSIONS: KICK.COMMAND.PERMISSIONS,
  71. };
  72.  
  73. export const ANNOUNCE_COMMAND = {
  74.   ENABLED: true,
  75.   PASSWORD: false,
  76.   IN_HELP: true,
  77.   ON_ERROR_MESSAGE: true,
  78.   ONLY_BOT_CHAT_MESSAGE: false,
  79.   NAME: ANNOUNCE.COMMAND.NAME,
  80.   ALIASES: ANNOUNCE.COMMAND.ALIASES,
  81.   DESCRIPTION: ANNOUNCE.COMMAND.DESCRIPTION,
  82.   BLACKLISTED_ROLES_CHANNEL: ANNOUNCE.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  83.   WHITELISTED_ROLES: ANNOUNCE.COMMAND.WHITELISTED_ROLES,
  84.   WHITELISTED_CHANNELS: ANNOUNCE.COMMAND.WHITELISTED_CHANNELS,
  85.   COOLDOWN: ANNOUNCE.COMMAND.COOLDOWN,
  86.   PERMISSIONS: ANNOUNCE.COMMAND.PERMISSIONS,
  87. };
  88.  
  89. export const CLEAR_COMMAND = {
  90.   ENABLED: true,
  91.   PASSWORD: false,
  92.   IN_HELP: true,
  93.   ON_ERROR_MESSAGE: true,
  94.   ONLY_BOT_CHAT_MESSAGE: false,
  95.   NAME: CLEAR.COMMAND.NAME,
  96.   ALIASES: CLEAR.COMMAND.ALIASES,
  97.   DESCRIPTION: CLEAR.COMMAND.DESCRIPTION,
  98.   BLACKLISTED_ROLES_CHANNEL: CLEAR.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  99.   WHITELISTED_ROLES: CLEAR.COMMAND.WHITELISTED_ROLES,
  100.   WHITELISTED_CHANNELS: CLEAR.COMMAND.WHITELISTED_CHANNELS,
  101.   COOLDOWN: CLEAR.COMMAND.COOLDOWN,
  102.   PERMISSIONS: CLEAR.COMMAND.PERMISSIONS,
  103. };
  104.  
  105. export const HELP_COMMAND = {
  106.   ENABLED: true,
  107.   PASSWORD: false,
  108.   IN_HELP: true,
  109.   ON_ERROR_MESSAGE: true,
  110.   ONLY_BOT_CHAT_MESSAGE: false,
  111.   NAME: HELP.COMMAND.NAME,
  112.   ALIASES: HELP.COMMAND.ALIASES,
  113.   DESCRIPTION: HELP.COMMAND.DESCRIPTION,
  114.   BLACKLISTED_ROLES_CHANNEL: HELP.COMMAND.BLACKLISTED_ROLES_CHANNEL,
  115.   WHITELISTED_ROLES: HELP.COMMAND.WHITELISTED_ROLES,
  116.   WHITELISTED_CHANNELS: HELP.COMMAND.WHITELISTED_CHANNELS,
  117.   COOLDOWN: HELP.COMMAND.COOLDOWN,
  118.   PERMISSIONS: HELP.COMMAND.PERMISSIONS,
  119. };
  120.  
Advertisement
RAW Paste Data Copied
Advertisement