{"_id":"@chelms21/24-7-discord.js-bot-template","_rev":"3-3fa19d7e07e8bffc5ec808ee4095f827","name":"@chelms21/24-7-discord.js-bot-template","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@chelms21/24-7-discord.js-bot-template","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/chelms21/24-7-discord-bot-template.git"},"dependencies":{"discord.js":"^12.5.1","express":"^4.17.1"},"gitHead":"db24b0a9449618fd9c7081a8efc5b31a0c1c3ffa","description":"in the .env file change your-token to your discord bots token. Or you could use the config.json and put your token in it (i use the config.json)","bugs":{"url":"https://github.com/chelms21/24-7-discord-bot-template/issues"},"homepage":"https://github.com/chelms21/24-7-discord-bot-template#readme","_id":"@chelms21/24-7-discord.js-bot-template@1.0.0","_nodeVersion":"10.23.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-RAZ68I9QUpGdsmlqAdZm5HdbXB7PxW5sIz6hJiuxDirKYECjbrJLpP/SvHwZVqcpXEmIHIY10SqQcjRUCXiqfA==","shasum":"e7e928da4acf6e186ef5080e2af86a92634fe41a","tarball":"https://registry.npmjs.org/@chelms21/24-7-discord.js-bot-template/-/24-7-discord.js-bot-template-1.0.0.tgz","fileCount":6,"unpackedSize":3076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM84ECRA9TVsSAnZWagAAiasP/2y4FzVUxPcSzNcravN/\nPGUPM3vUVRwkafOsqvPrDgMgonwnAyEK8hMpfwj7judj6C6ri/xgDI6eEfG3\n094k5k4PNcTdXXt1IX4j2VsX2wO2iq5xU/Tdh2HJZQLlAqS64hu7oz7d22aE\n3lCralLgod/rYeanC1DMC875EIc+hnn+jSCR5QXoO0EJ30N2aA7DMjUCKj6S\n61FL9I8n2IUqAAbN8tBtaZsSikGDenGNM+fr4qeKRTVwQiLMZL62v+fh0gVQ\nd+zqHjvL7JECqCxOfVZ2NNQEHgpEPdOLPmZyp+u7kl0e2+U1LBXwiySEJGE6\ncG7KKWdFXgEW9ygBFoiB0I0RxltNQOn0WvHLLxcEf+s147B+g2IX8LMEwdiL\ncofBmiXCNXbBECDEAzH1xPDM0kduun7qaJalg2/k8r1LcrYD98rN6kaS1/U8\nT68Q4QptiOLZo04kDFGPfCU9eYnt5q8yBUdRhIsLr9ZGzv4UbdsPqBPibmVr\nC1UbP+BHqTtHakiNgNdDcXE/j/SOS2IyUZ20gyXgyDhM3ONkn4zV6OXVAfJv\nb+uvq469jC35ReXEPPq4luP1GC/xmc4fQo8pSG3Kd1IsS0k/LDYpQa/jgmpf\nLpevjEeMdmi1PgGbTlZ9umCX079Em/rND/HEBPiA9rA5BOMYsoDct9dWkGHy\nYq8u\r\n=Wioe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQnTqrZCuiXUq1iZz1enDP3STd4F6jX4xkdRJSOzoP6wIgSqKqbhjX8H3vwaQNvR9rDiZqpRaoq0DZbCtgVe1ljE0="}]},"_npmUser":{"name":"chelms21","email":"colinhelms0421@gmail.com"},"directories":{},"maintainers":[{"name":"chelms21","email":"colinhelms0421@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24-7-discord.js-bot-template_1.0.0_1614007812186_0.17285313129699187"},"_hasShrinkwrap":false},"1.1.0":{"name":"@chelms21/24-7-discord.js-bot-template","version":"1.1.0","repository":{"type":"git","url":"git+https://github.com/chelms21/24-7-discord-bot-template.git"},"dependencies":{"discord.js":"^12.5.1","express":"^4.17.1"},"gitHead":"db24b0a9449618fd9c7081a8efc5b31a0c1c3ffa","description":"in the .env file change your-token to your discord bots token. Or you could use the config.json and put your token in it (i use the config.json)","bugs":{"url":"https://github.com/chelms21/24-7-discord-bot-template/issues"},"homepage":"https://github.com/chelms21/24-7-discord-bot-template#readme","_id":"@chelms21/24-7-discord.js-bot-template@1.1.0","_nodeVersion":"10.23.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-TEi8ysqbVYa6dkxvehqQ2M1fHdCvRI13sZePAAyxPHBS1NBAJE7mHIgB2knHMhwpybncA6ajZCAC6EzAhZzdvA==","shasum":"d6a6a89cfbba6173e51ed4dc64d793a7ef5d6f42","tarball":"https://registry.npmjs.org/@chelms21/24-7-discord.js-bot-template/-/24-7-discord.js-bot-template-1.1.0.tgz","fileCount":7,"unpackedSize":3039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM9WRCRA9TVsSAnZWagAAlNwP/00nTexfHHlTmLFtiHpm\nDLtIJ88BqUbRz5g6vg87TPh8X/JK+nju3yjxxUWP2I38MKpK6mPwE6yDVkM4\nXfyih4iwP6v1Y/ARqUI6+7iRBRoyxNVERT0QXNnE2XE8bobd/OHgJwhfUSsS\nTf4QIirpiYLwM5P8Smi9Dbpn/xZASeb2RxzUEIAeuRHnxOcharPAvWC5GvHD\neKyemUNnVUgfr/hawwonKqPNogFr8PltxBiPNQXtQ+3oqD26aaFlWPUpVK0a\nUMsm1T9cv77rzaSbhLp1R7fwPGuqSGU9hUluB3uSBHlm6K3pDimjgKz+mEpz\nYEqTl/IooJ0Ew8sgzNBSRng7c58LMzb11yarGuhul2Dr8WW9v41cQvBzMmv7\nCPt84bulmNiWaTB7NzIYAZ7dDMXlV8+U2LEg2MmH9PPqPBBwlonc4kojWel/\nwa35uLiIqAAdM35i1X46lkp87tnwnmD0kukLrBdbJ3Vs33bGYGgMzP49N4lR\nJYwu83r+gsu7zPMftZMtlZN5zWzZonSBheKLxo8abb29VFwLpMP70H1j4faq\nDl3zgPNZOhQ3pGPPI4Z/Wn9Em6M6HSuGYvr7WUejLmYQaRNokBcq3Qa/Kdz4\nHlGN6+P5o3IZX/1DfBXEjToXnE+Xh/YhL2JwwdTx+VZwLBX6ZBO9zG+Y3958\nphOF\r\n=gcAW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbS9u+E/2PyUb1bmiQO87ihSnIqwx89+d4+H3UubSvqQIgSLeGBePQTApXzJTMefYOJs0CMj9OQFlgf5w/UBLkBu4="}]},"_npmUser":{"name":"chelms21","email":"colinhelms0421@gmail.com"},"directories":{},"maintainers":[{"name":"chelms21","email":"colinhelms0421@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24-7-discord.js-bot-template_1.1.0_1614009744616_0.39919078378502304"},"_hasShrinkwrap":false},"1.1.2":{"name":"@chelms21/24-7-discord.js-bot-template","version":"1.1.2","gitHead":"05c0050437b9b86b59013c6830a18855e81695b8","description":"# option 1 for self hosting:","_id":"@chelms21/24-7-discord.js-bot-template@1.1.2","_nodeVersion":"10.23.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-s0DbEVypW8r1oSOjaRIqvjjP0CE9ti6uwctIeviAtj46T8Z6AVzQQS2PHnnQmrqZQQqexSh3PIBWuwcrkvQZ2w==","shasum":"87706e26baaf328a63c86dbde32dbfd65f2330f0","tarball":"https://registry.npmjs.org/@chelms21/24-7-discord.js-bot-template/-/24-7-discord.js-bot-template-1.1.2.tgz","fileCount":6,"unpackedSize":3726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNSupCRA9TVsSAnZWagAAmOIP+wdG3V748qx5DBC47/Wm\nL24dzY56rfunL1V16RHumSvw79ClW3SRy6hGv35SMFvx3O6FNx/XK+BmKQUR\n9M2RAQZQF1Oj7TyD9utMueLz62hW0V7yMh3FzzY6F6W1hjdbWvCxhX4b4Ou8\nNkWX/m7Pf2VzYGln5bfwf48LbLk9uQqaITx9rEF32ePrvnoyMGpX63IQMCya\nnbKtZo7NdcKsnbariZE+d497ttj4Rm2uJwWbBJC/IOxNe9fLcBM95Smtd04z\n2v3C3lpsRnC/VU6gxJeunghJdQMjt1rmXjIqvRmjDr2CkYLbsQJxp4XDHixT\n1ycBxbdgptEL490A4e0If/fbUJjq+DCv6dfxnmeU7h1icss65XN10T0vDFnX\nZpj65nbNK+ANKlbpUVYRN/7cG66yVJVj4YZEc+r6IeOICuA5qUcqPRyA09Br\nM5TeVEbY+GkbMeKwhvy2i2weo4Ai3vQoopR9jCeXGKGqov9Hd21HY/5f7uej\n8qUFvJ83drzAfRHbDe944UTzMrTTgzmPCtmWjby+GKqmTaA6o3bNTp4PV5Gz\neROR+KSBkBbsglXa+067wZIIY9u9HvyMZ6BYOQNXiY4IU3JcxcRp2FwOGKD6\nAq1ZVEAD1Bah0+DKlnM0LofRbvu1Clujxo2idFqS41yOp9IaCltYnAO8jgsL\ncZow\r\n=K5MO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBuu1jXOCJWpUuB9wYOdFSUrh30J/ggjDPs5aGfj8j8YAiAyUkQFc3Uuzby6ao5EoMOILSCDh5amkKQjgHmK3xiw+Q=="}]},"_npmUser":{"name":"chelms21","email":"colinhelms0421@gmail.com"},"directories":{},"maintainers":[{"name":"chelms21","email":"colinhelms0421@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24-7-discord.js-bot-template_1.1.2_1614097321307_0.6871626752501081"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-22T15:30:12.143Z","1.0.0":"2021-02-22T15:30:12.377Z","modified":"2022-04-04T22:38:10.930Z","1.1.0":"2021-02-22T16:02:24.751Z","1.1.2":"2021-02-23T16:22:01.511Z"},"maintainers":[{"name":"chelms21","email":"colinhelms0421@gmail.com"}],"description":"# option 1 for self hosting:","readme":"# 24/7 discord bot template\n\n# option 1 for self hosting:\n\nin the .env file change your-token to your discord bots token. Or you could use the config.json and put your token in it (i use the config.json)\n\ngo to repl.it and import this repo and run the repl. there should be some packager files now.\n\nthen copy the url at the pot of the output and copy it. go to uptimerobot.com and make an account or sign in. make a monitor and choose https, make a name, and put the url in the url slot. then press the create monitor button and your bot will be online 99.9 percent of the time!\n\nyou can put your bot files in the repl like commands and stuff, but make sure there is not any files named index.js or .env (.env is okay just move the contents of it over to the .env that comes with your bot.)\n\n# option 2 for self hosting: (DEFINITLY THE EASIER OPTION)\n\nput the following code in your index.js file on repl or what ever you host with:\n\nvar _247DiscordJsBotTemplate = require(\"@chelms21/24-7-discord.js-bot-template\")\n\n# including bot code\n\nnow you can put in your bot code for your discord bot\n\n# 24-7\n\nrun your repl (assuming you are using repl it) or whatever your code is in\n\nget the url and put it in uptime robot like in the above option. (this is why i recommend repl.it because it gives you a normal url instead of a localhost one)\n\n# put it all together\n\ncreate a config.json file and put the following code (or .env code is below the config.json code)\n\n{\n  \"token\": \"your_token_here\"\n}\n\n# .env code:\n\n# index.js:  \n\nremove:  const { token } = require('./config.json')     and      client.login(token)\nadd: client.login(PROCESS.env.DISCORD_TOKEN)\n\n# .env:\n\nadd:  DISCORD_TOKEN=your_token_here\n","readmeFilename":"README.md"}