Update index.ts
This commit is contained in:
parent
e5fa49080f
commit
a3e9af1a65
|
@ -53,11 +53,6 @@ const config = {
|
|||
})()
|
||||
};
|
||||
|
||||
if (!config.DISCORD_TOKEN) {
|
||||
error('Discord token not found. Please provide it via --config argument or environment variable.');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
// Create Discord client
|
||||
const client = new Client({
|
||||
intents: [
|
||||
|
|
Loading…
Reference in New Issue