Fix linux line ending bug?
This commit is contained in:
parent
f29f0a0a29
commit
a87c3f6b90
2
index.js
2
index.js
@ -9,7 +9,7 @@
|
||||
|
||||
var Discord = require('discord.js');
|
||||
var bot = new Discord.Client();
|
||||
bot.login(fs.readFileSync('./token.txt','utf8'));
|
||||
bot.login(fs.readFileSync('./token.txt','utf8').trim());
|
||||
bot.on('ready', ()=>{
|
||||
bot.user.setActivity("p!help")
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user