Last active
November 9, 2017 16:24
-
-
Save noirscape/bb0b338fb3869e10563b9276280f64e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const config = require("./config.json"); | |
client.on("ready", () => { | |
console.log("Now Playing Setter is on duty! The Now Playing Status that is set is: " + config.NowPlayingStatus); | |
client.user.setGame(config.NowPlayingStatus) | |
}); | |
client.login(config.token); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"NowPlayingStatus": "", | |
"token": "" | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"requires": true, | |
"lockfileVersion": 1, | |
"dependencies": { | |
"async-limiter": { | |
"version": "1.0.0", | |
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", | |
"integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" | |
}, | |
"balanced-match": { | |
"version": "1.0.0", | |
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | |
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | |
}, | |
"brace-expansion": { | |
"version": "1.1.8", | |
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", | |
"integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", | |
"requires": { | |
"balanced-match": "1.0.0", | |
"concat-map": "0.0.1" | |
} | |
}, | |
"concat-map": { | |
"version": "0.0.1", | |
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | |
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" | |
}, | |
"describe": { | |
"version": "1.2.0", | |
"resolved": "https://registry.npmjs.org/describe/-/describe-1.2.0.tgz", | |
"integrity": "sha1-O0LvptyhqiRF720VwZhU3lg3EcA=", | |
"requires": { | |
"string-color": "0.8.0" | |
} | |
}, | |
"discord": { | |
"version": "0.8.2", | |
"resolved": "https://registry.npmjs.org/discord/-/discord-0.8.2.tgz", | |
"integrity": "sha1-jLPr+fLpBZRVTQw3NMma+Huwt3A=", | |
"requires": { | |
"describe": "1.2.0", | |
"glob": "7.1.2", | |
"mootools": "1.5.2", | |
"string-color": "0.8.0" | |
} | |
}, | |
"discord.js": { | |
"version": "11.2.1", | |
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-11.2.1.tgz", | |
"integrity": "sha512-8Mor+IREVWHinjRd6Bu6OwRfT+ET/WEoLWMl8crFvBVcTFmaO/TSwP39C8QIGCB2YMVMYMdljjX/w17AUMemqg==", | |
"requires": { | |
"long": "3.2.0", | |
"prism-media": "0.0.1", | |
"snekfetch": "3.5.8", | |
"tweetnacl": "1.0.0", | |
"ws": "3.3.1" | |
} | |
}, | |
"fs.realpath": { | |
"version": "1.0.0", | |
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | |
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" | |
}, | |
"glob": { | |
"version": "7.1.2", | |
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", | |
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", | |
"requires": { | |
"fs.realpath": "1.0.0", | |
"inflight": "1.0.6", | |
"inherits": "2.0.3", | |
"minimatch": "3.0.4", | |
"once": "1.4.0", | |
"path-is-absolute": "1.0.1" | |
} | |
}, | |
"inflight": { | |
"version": "1.0.6", | |
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | |
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", | |
"requires": { | |
"once": "1.4.0", | |
"wrappy": "1.0.2" | |
} | |
}, | |
"inherits": { | |
"version": "2.0.3", | |
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", | |
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" | |
}, | |
"long": { | |
"version": "3.2.0", | |
"resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", | |
"integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" | |
}, | |
"minimatch": { | |
"version": "3.0.4", | |
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | |
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | |
"requires": { | |
"brace-expansion": "1.1.8" | |
} | |
}, | |
"mootools": { | |
"version": "1.5.2", | |
"resolved": "https://registry.npmjs.org/mootools/-/mootools-1.5.2.tgz", | |
"integrity": "sha1-H93xtOCp5l0g1IO5tLCOHoexFho=" | |
}, | |
"once": { | |
"version": "1.4.0", | |
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | |
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", | |
"requires": { | |
"wrappy": "1.0.2" | |
} | |
}, | |
"path-is-absolute": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | |
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" | |
}, | |
"prism-media": { | |
"version": "0.0.1", | |
"resolved": "https://registry.npmjs.org/prism-media/-/prism-media-0.0.1.tgz", | |
"integrity": "sha1-o0JcnKvVDRxsAuVDlBoRiVZnvRA=" | |
}, | |
"safe-buffer": { | |
"version": "5.1.1", | |
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", | |
"integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" | |
}, | |
"snekfetch": { | |
"version": "3.5.8", | |
"resolved": "https://registry.npmjs.org/snekfetch/-/snekfetch-3.5.8.tgz", | |
"integrity": "sha512-osq7soqKBObV4u/WE9tGQT/m5JdqTU1PWVPcT0We3sKZ99h9QA7wSj7ZWrwEwgRbELeO5BrVCanYjDYtVYcwrQ==" | |
}, | |
"string-color": { | |
"version": "0.8.0", | |
"resolved": "https://registry.npmjs.org/string-color/-/string-color-0.8.0.tgz", | |
"integrity": "sha1-HmdMgpXOKd3Zd4tuTLOqXnVEhAM=" | |
}, | |
"tweetnacl": { | |
"version": "1.0.0", | |
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz", | |
"integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins=" | |
}, | |
"ultron": { | |
"version": "1.1.0", | |
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.0.tgz", | |
"integrity": "sha1-sHoualQagV/Go0zNRTO67DB8qGQ=" | |
}, | |
"wrappy": { | |
"version": "1.0.2", | |
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | |
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" | |
}, | |
"ws": { | |
"version": "3.3.1", | |
"resolved": "https://registry.npmjs.org/ws/-/ws-3.3.1.tgz", | |
"integrity": "sha512-8A/uRMnQy8KCQsmep1m7Bk+z/+LIkeF7w+TDMLtX1iZm5Hq9HsUDmgFGaW1ACW5Cj0b2Qo7wCvRhYN2ErUVp/A==", | |
"requires": { | |
"async-limiter": "1.0.0", | |
"safe-buffer": "5.1.1", | |
"ultron": "1.1.0" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment