-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
27 lines (25 loc) · 820 Bytes
/
Copy pathindex.js
File metadata and controls
27 lines (25 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Eventually we may want to run a standalone application that does not
require Discord support. For now it loads this by default. Any app
instance context will be called directly from the DiscordBot.
*/
const DiscordBot = require('./discord_bot');
const logo = require('figlet');
// Constants
const name = process.env.npm_package_name;
const version = process.env.npm_package_version;
logo("TargetDummy", {
font: 'Doom',
horizontalLayout: 'default',
verticalLayout: 'default'
},
function(err, data) {
if (err) {
console.log('Something went wrong...');
console.dir(err);
return;
}
console.log("Welcome to...");
console.log(data);
console.log("Package Name: " + name);
console.log("Package Version: " + version);
});