You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
698 B
JavaScript
20 lines
698 B
JavaScript
2 years ago
|
// This is the slash-up config file.
|
||
|
// Make sure to fill in "token" and "applicationId" before using.
|
||
|
// You can also use environment variables from the ".env" file if any.
|
||
|
|
||
|
module.exports = {
|
||
|
// The Token of the Discord bot
|
||
|
token: process.env.TOKEN,
|
||
|
// The Application ID of the Discord bot
|
||
|
applicationId: process.env.APPLICATION_ID,
|
||
|
// This is where the path to command files are, .ts files are supported!
|
||
|
commandPath: './src/commands',
|
||
|
// You can use different environments with --env (-e)
|
||
|
env: {
|
||
|
development: {
|
||
|
// The "globalToGuild" option makes global commands sync to the specified guild instead.
|
||
|
globalToGuild: process.env.DEVELOPMENT_GUILD_ID
|
||
|
}
|
||
|
}
|
||
|
};
|