-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20ec763
commit c67b0fb
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: '', | ||
}; |