updated file names
This commit is contained in:
@@ -16,7 +16,7 @@ if (!fs.existsSync('./token.txt')) {
|
||||
console.error('Missing Discord Token, please enter the bot token into the token file');
|
||||
process.exit(1);
|
||||
}
|
||||
const TOKEN = fs.readFileSync('./token').toString();
|
||||
const TOKEN = fs.readFileSync('./token.txt').toString();
|
||||
|
||||
//discord connections
|
||||
CLIENT.on('ready', client => {
|
||||
|
||||
Reference in New Issue
Block a user