Use correct attribute to resolve host
|2 years ago|
|commands||3 years ago|
|.gitignore||3 years ago|
|.gitrepo||3 years ago|
|.npmrc||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|base-embedded-data.js||3 years ago|
|base-guild-data.js||3 years ago|
|client.js||3 years ago|
|command.js||3 years ago|
|handle-guild-message.js||3 years ago|
|index.js||3 years ago|
|internal-config.json||3 years ago|
|package-lock.json||3 years ago|
|package.json||3 years ago|
|util.js||3 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.