subrepo: subdir: "core" merged: "7a3eed3" upstream: origin: "email@example.com:benji7425/discord-bot-core.git" branch: "master" commit: "7a3eed3" git-subrepo: version: "0.3.1" origin: "???" commit: "???"
|4 years ago|
|commands||4 years ago|
|.gitignore||4 years ago|
|.gitrepo||4 years ago|
|.npmrc||4 years ago|
|LICENSE||4 years ago|
|README.md||4 years ago|
|base-embedded-data.js||4 years ago|
|base-guild-data.js||4 years ago|
|client.js||4 years ago|
|command.js||4 years ago|
|handle-guild-message.js||4 years ago|
|index.js||4 years ago|
|internal-config.json||4 years ago|
|package-lock.json||4 years ago|
|package.json||4 years ago|
|util.js||4 years ago|
Discord bot core
Core code for connection and command handling for my Discord bots.
This is not actually a Discord bot. To learn about some of my available Discord bots please visit my website
This code is included in the repo for each bot using git subrepo, which I prefer over submodules and subtrees.
This code does not function on it's own, it simply provides common functionality my Discord bots can make use of. To test/modify this code, it needs to be run in the context of an actual bot. A good candidate is my template project, which should run and connect just fine, just won't do much.
The easiest way to get setup would be a fork of this repo, and the fork of a bot to use as a development context.
I suggest using my template project as a development context, along with git subrepo to push back to your core fork.
If you are uncomfortable using git subrepo, you could just as easily copy/paste your child
core directory back into your fork.
My template project has more in-depth details about how to setup and test.
If you have a completed change, please submit a pull request from your
core fork back to this repo.
Whilst this is very easy to use once you know how, I appreciate this might be a little tricky if you aren't familiar with developing in this way. Feel free to contact me if you would like assistance. Find contact details here.