aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/example-options.ts69
1 files changed, 32 insertions, 37 deletions
diff --git a/src/config/example-options.ts b/src/config/example-options.ts
index 1b5d15a..ed3fd51 100644
--- a/src/config/example-options.ts
+++ b/src/config/example-options.ts
@@ -1,38 +1,33 @@
-import { Snowflake } from 'discord.js';
+import { Config } from '../lib/utils/Config';
-// Credentials
-export const credentials = {
- token: 'Token Here',
- devToken: 'Token Here',
- hypixelApiKey: 'API Key Here'
-};
-
-// Options
-export const owners: Snowflake[] = [
- '322862723090219008', //IRONM00N
- '464970779944157204', //TrashCan
- '487443883127472129' //Tyman
-];
-export const prefix = '-' as string;
-export const dev = true as boolean;
-export const devGuild = '1000000000000000' as Snowflake;
-export const channels: { log: Snowflake; error: Snowflake; dm: Snowflake; } = {
- log: '1000000000000000',
- error: '1000000000000000',
- dm: '1000000000000000',
-};
-
-// Database specific
-export const db = {
- host: 'localhost',
- port: 5432,
- username: 'username here',
- password: 'password here'
-};
-
-// Logging
-export const logging: { db: boolean; verbose: boolean; info: boolean } = {
- db: false,
- verbose: true,
- info: true
-};
+export default new Config({
+ credentials: {
+ token: '[TOKEN]',
+ betaToken: '[TOKEN]',
+ devToken: '[TOKEN]',
+ hypixelApiKey: '[API_KEY]'
+ },
+ environment: 'development',
+ owners: [
+ '322862723090219008', //IRONM00N
+ '464970779944157204', //TrashCan
+ '487443883127472129' //Tyman
+ ],
+ prefix: '-',
+ channels: {
+ log: '1000000000000000',
+ error: '1000000000000000',
+ dm: '1000000000000000'
+ },
+ db: {
+ host: 'localhost',
+ port: 5432,
+ username: '[USER_NAME]',
+ password: '[PASSWORD]'
+ },
+ logging: {
+ db: false,
+ verbose: true,
+ info: true
+ }
+});