Skip to content

Commit 337a9db

Browse files
committed
Update index.js
added console logs
1 parent 7598f26 commit 337a9db

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
console.clear();
2+
console.log(`[TWITTER] Starting Service`);
3+
14
// Packages
25
const {Discord, Client, Collection, Message, MessageEmbed} = require("discord.js");
36
const Twit = require("node-tweet-stream");
@@ -21,7 +24,7 @@ dClient.login(config.discordBotToken);
2124

2225
// Success
2326
dClient.on('ready', () => {
24-
console.log(`Connected to Discord as ${dClient.user.tag}`);
27+
console.log(`[TWITTER] Service Started`);
2528
});
2629

2730
// Tweet Listener + Post
@@ -35,7 +38,7 @@ t.on('error', function (err) {
3538
let track = config.following;
3639
for (var i = 0; i < track.length; i++) {
3740
t.follow(track[i]);
38-
console.log(`Following Twitter User [ID]${track[i]}`)
41+
console.log(`[TWITTER] Following Twitter User [ID]${track[i]}`)
3942
console.log(`For Support please join https://discord.gg/PrGCCWpDbP`)
4043
}
4144

0 commit comments

Comments
 (0)