You can not 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
710 B
20 lines
710 B
8 months 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.DISCORD_BOT_TOKEN,
|
||
|
// The Application ID of the Discord bot
|
||
|
applicationId: process.env.DISCORD_APP_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
|
||
|
}
|
||
|
}
|
||
|
};
|