Browse Source

Add shell-discord-bot wrapper for testing

shorten
benji7425 4 years ago
parent
commit
d7a5716c35
  1. 2
      .vscode/launch.json
  2. 2
      wrapper/index.js

2
.vscode/launch.json

@ -5,7 +5,7 @@
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}\\feed-bot.js",
"program": "${workspaceRoot}\\wrapper\\index.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",

2
wrapper/index.js

@ -4,7 +4,7 @@ const Console = require("console");
//external module imports
var Discord = require("discord.io");
var BotModules = [];
var BotModules = [require("../index.js")];
var bot;

Loading…
Cancel
Save