Skip to content

Commit

Permalink
Refactored token storage to push to Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pierce committed Jul 29, 2020
1 parent 9120a31 commit 0f23e0f
Show file tree
Hide file tree
Showing 33 changed files with 802 additions and 1,069 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
config.json
config.json
.env
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Worker: node index.js
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('dotenv').config();
const Discord = require("discord.js");
const client = new Discord.Client();
const config = require("./config.json");
Expand Down Expand Up @@ -42,6 +43,4 @@ client.on("message", async message => {
}
});

// Login to Discord using the app's token
// DON'T BE LIKE ME AND PUSH THIS WITH YOUR TOKEN IN IT LOL
client.login(config.token);
client.login();
15 changes: 0 additions & 15 deletions node_modules/caller-id/.npmignore

This file was deleted.

6 changes: 0 additions & 6 deletions node_modules/caller-id/.travis.yml

This file was deleted.

36 changes: 0 additions & 36 deletions node_modules/caller-id/Gruntfile.js

This file was deleted.

20 changes: 0 additions & 20 deletions node_modules/caller-id/LICENSE

This file was deleted.

108 changes: 0 additions & 108 deletions node_modules/caller-id/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions node_modules/caller-id/jshint.json

This file was deleted.

46 changes: 0 additions & 46 deletions node_modules/caller-id/lib/caller-id.js

This file was deleted.

68 changes: 0 additions & 68 deletions node_modules/caller-id/package.json

This file was deleted.

Loading

0 comments on commit 0f23e0f

Please sign in to comment.