Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Imports ...
- import { apiKeys } from './api';
- import { img } from './images';
- import { permissions } from './permissions';
- import { reddit } from './reddit';
- // Exports ...
- export const config = {
- slashCommands: discord.interactions.commands,
- permissions: {
- manage_messages: discord.Permissions.MANAGE_MESSAGES,
- manage_guild: discord.Permissions.MANAGE_GUILD,
- },
- commands: new discord.command.CommandGroup({
- defaultPrefix: '.',
- mentionPrefix: true,
- additionalPrefixes: ['~', '!', '$', '>>', '!!', '-', '+'],
- }),
- owner: {
- id: ['xxxxxxxxxxxxxxxxxx'],
- },
- me: {
- user: discord.getBotUser,
- id: discord.getBotId(),
- },
- api: {
- TWITTER_API: apiKeys.twitterAPI,
- WOLFRAM_API: apiKeys.wolframAPI,
- TWITTER_BEARER: apiKeys.twitterBearer,
- PXLAPI_TOKEN: apiKeys.pxlAPI,
- },
- reddit: {
- enabled: true,
- subreddit: reddit.subreddits,
- interval: reddit.check_interval,
- channel: reddit.channel_id,
- zone: reddit.time_zone,
- },
- images: {
- twitterIcon: img.twitter,
- pylonIcon: img.pylon,
- loadingImage: img.ping,
- },
- guild: {
- id: discord.getGuildId(),
- },
- // Modules ...
- modules: {
- enabled: true,
- errors: {
- enabled: true,
- },
- // Automation Module ...
- automation: {
- enabled: true,
- onJoin: {
- enabled: true,
- },
- onLeave: {
- enabled: true,
- },
- },
- // Roles Module ...
- roles: {
- enabled: true,
- ticket_manager: {
- enabled: true,
- id: ['xxxxxxxxxxxxxxxxxx'], // Accepts multiple channels ['xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx']
- },
- manager: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- administrator: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- moderator: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- helper: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- support: {
- enabled: true,
- id: '',
- },
- developer: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- member: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- human: {
- enabled: true,
- id: ['xxxxxxxxxxxxxxxxxx'], // Accapts multiple roles ['xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx']
- },
- bot: {
- enabled: true,
- id: ['xxxxxxxxxxxxxxxxxx'], // Accepts multiple roles ['xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxx']
- },
- default: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- mute: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- },
- // Channels Module ...
- channels: {
- enabled: true,
- support_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- tickets: {
- enabled: true,
- channel: {
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- category: {
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- },
- announcements_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- welcome_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- logging_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- userjoin_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- userleave_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- error_channel: {
- enabled: true,
- id: 'xxxxxxxxxxxxxxxxxx',
- },
- },
- // Commands Module ...
- commands: {
- enabled: true,
- // Management Commands ...
- manager: {
- enabled: true,
- tag: {
- enabled: true,
- set: {
- enabled: true,
- },
- delete: {
- enabled: true,
- },
- },
- slowmode: {
- enabled: true,
- },
- announce: {
- enabled: true,
- },
- broadcast: {
- enabled: true,
- },
- clear: {
- enabled: true,
- },
- },
- // Adminstration Commands ...
- admin: {
- enabled: true,
- scm: {
- enabled: true,
- },
- massban: {
- enabled: true,
- },
- ban: {
- enabled: true,
- },
- banlist: {
- enabled: true,
- },
- kick: {
- enabled: true,
- },
- },
- // Fun commands ...
- fun: {
- enabled: true,
- sop: {
- enabled: true,
- },
- },
- // Social Commands ...
- social: {
- enabled: true,
- twitter: {
- enabled: true,
- sub: {
- enabled: true,
- },
- unsub: {
- enabled: true,
- },
- list: {
- enabled: true,
- },
- poll: {
- enabled: true,
- },
- },
- reddit: {
- enabled: true,
- },
- },
- // Moderation Commands ...
- mod: {
- enabled: true,
- mute: {
- enabled: true,
- },
- unmute: {
- enabled: true,
- },
- warn: {
- enabled: true,
- add: {
- enabled: true,
- },
- list: {
- enabled: true,
- },
- remove: {
- enabled: true,
- },
- },
- },
- // Economy Commands ...
- economy: {
- enabled: true,
- xp: {
- enabled: true,
- top: {
- enabled: true,
- },
- rank: {
- enabled: true,
- },
- },
- },
- // Utility Commands ...
- util: {
- enabled: true,
- avatar: {
- enabled: true,
- },
- ping: {
- enabled: true,
- },
- search: {
- enabled: true,
- },
- menu: {
- enabled: true,
- },
- info: {
- enabled: true,
- },
- guild: {
- enabled: true,
- },
- },
- },
- // Permissions Module ...
- perms: {
- enabled: true,
- manager: {
- enabled: true,
- filter: permissions.manager,
- },
- admin: {
- enabled: true,
- filter: permissions.admin,
- },
- mod: {
- enabled: true,
- filter: permissions.mod,
- },
- helper: {
- enabled: true,
- filter: permissions.helper,
- },
- user: {
- enabled: true,
- filter: permissions.user,
- },
- flags: {
- enabled: true,
- filter: permissions.perms,
- },
- },
- }
- };
- export default config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement