Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,5 @@ $RECYCLE.BIN/
# and uncomment the following lines
# .pnp.*

# End of https://www.toptal.com/developers/gitignore/api/windows,linux,visualstudiocode,node,yarn
# End of https://www.toptal.com/developers/gitignore/api/windows,linux,visualstudiocode,node,yarn
config.json
5 changes: 5 additions & 0 deletions bot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Discord = require("discord.js");
const config = require("./config.json");
const client = new Discord.Client();

client.login(config.BOT_TOKEN);
3 changes: 3 additions & 0 deletions config.json.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"BOT_TOKEN": "YOUR BOT TOKEN"
}
280 changes: 280 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "pineapplehelper",
"version": "0.0.1",
"description": "Discord helper bot for Exploding Pineapple",
"main": "bot.js",
"scripts": {
"test": "node bot.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ExplodingPineapple/PineappleHelper.git"
},
"keywords": [
"discord",
"bot"
],
"author": "Exploding Pineapple",
"license": "ISC",
"bugs": {
"url": "https://github.com/ExplodingPineapple/PineappleHelper/issues"
},
"homepage": "https://github.com/ExplodingPineapple/PineappleHelper#readme",
"dependencies": {
"discord.js": "^12.5.3"
}
}