This repo contains a very bare-bones example of a Discord bot that uses discord.js-extended. If you need some more help, check out the documentation for this framework.
You may use this to inspire yourself when building your own bot or check out any of the other bots implemented with this:
As you may (or may not) have noticed, inside the package.json file there is no dependency for @greencoast/discord.js-extended. This is because this repo is used for local manual testing using npm link. In your case, you should install @greencoast/discord.js-extended
to use this properly.
- The entrypoint is
index.js. - Commands are defined in the
commandsfolder. - An example JSON config file is located in the
configfolder (though incomplete since secrets are actually set through environment variables). - An example of a sharded client entrypoint in
sharded-client.js. - An example of a command deploy script in
command-deploy.js.
This bot was made by Greencoast Studios.