-
-
Save AllGistsEqual/265c7bf9eca97f4ac3bdbc932635969f to your computer and use it in GitHub Desktop.
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
// File: src/index.js line 7 ff | |
const { prefix, name } = config // add the name again | |
// Config | |
const configSchema = { | |
name, | |
defaultColors: { | |
success: '#41b95f', | |
neutral: '#287db4', | |
warning: '#ff7100', | |
error: '#c63737', | |
}, | |
} | |
// Define the bot | |
const bot = { | |
client: new discord.Client(), | |
log: console.log, // eslint-disable-line no-console | |
commands: new discord.Collection(), | |
config: configSchema, // add the new config to our bot object | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment