Skip to content

Commit

Permalink
chore: add example config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusgerdin committed Aug 6, 2023
1 parent 20ec763 commit c67b0fb
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions src/config.example.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { LogLevel } from '@sapphire/framework';
import { GatewayIntentBits, Partials, type ClientOptions } from 'discord.js';

export const DEV = process.env.NODE_ENV !== 'production';

export const CLIENT_ID = '';
export const CONTROL_GUILD = '';
export const OWNERS: string[] = [''];
export const PREFIX = '=';
export const VERSION = '0.0.0';

export const CLIENT_OPTIONS: ClientOptions = {
caseInsensitiveCommands: true,
caseInsensitivePrefixes: true,
defaultPrefix: PREFIX,
regexPrefix: /^(hey +)?bot[,! ]/i,
shards: 'auto',
intents: [
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildScheduledEvents,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent
],
loadDefaultErrorListeners: false,
partials: [Partials.Channel, Partials.GuildMember, Partials.GuildScheduledEvent, Partials.Message, Partials.Reaction, Partials.User],
presence: {
activities: [
{
name: '',
type: 3
}
]
},
logger: {
level: DEV ? LogLevel.Debug : LogLevel.Info
},
};

export const API_KEYS = {
GOOGLE_MAPS: '',
OPENWEATHER: ''
}

export const TOKENS = {
BOT_TOKEN: '',
SENTRY_DNS: '',
};

0 comments on commit c67b0fb

Please sign in to comment.