Skip to content

About

Discord slash command utility for discord.js bot developer support

Topics

Resources

Stars

70 stars

Watchers

4 watching

Forks

Latest commit

 

History

326 Commits

Folders and files

Repository files navigation


discord.js


Discord server backers

Contributing tags

New tags are added via pull requests. Please provide the tag content as PR description and Tag: followed by the tag name as pull request title.

Add new tags in ./tags/tags.toml in the following format:

[tag-name]
keywords = ["keyword", "another-keyword"]
content = """
Put your tag content here!
"""
  • Tag names and keywords have to use - instead of spaces
  • Backslashes have to be escaped! \\
  • Code blocks work and newlines are respected
  • The application uses slash command interactions only, you can use emojis from the Discord server (please do not use global emojis from other servers, as we can't control them being deleted at any point)
  • You can use masked link syntax [discord.js](https://discord.js.org 'discord.js website') (links do not need to be escaped because of the message flag set on all responses).
  • The repository includes vscode code-snippets for tags, "learn more" links, and an arrow character.
  • You can test tags through the bot (for example in our discord server) with /testtag.

Contributing haiku

[haiku-name]
keywords = ["haiku", "575"]
content = """
Hey! That's not haiku,
You're just counting syllables!
Stop that this instant!
"""
  • Haikus consist of three lines of 5, 7, and 5 syllables.
  • Haikus are just tags, all rules from above apply.
  • Make sure they're still useful. This is not a venue for being rude.

Setup

Warning

The discord.js portion of this app requires direct access to the underlying storage layer.

Deploy Commands

yarn build && yarn deploy:glob # deploy commands globally
yarn build && yarn deploy:dev # deploy commands to dev server
yarn build && yarn deploy-dev:glob # deploy commands globally (dev instance)
yarn build && yarn deploy-dev:dev # deploy commands to dev server (dev instance)

Start App

ENV=dev ./start.sh # dev token
./start.sh # prod token
LOGLEVEL=debug ENV=dev ./start.sh # dev token (logger level debug)
LOGLEVEL=warn ./start.sh # prod token (logger level warning)

Note

Valid log levels are standards defined by pino fatal, error, warn, info, debug, trace, silent. Other values will throw to avoid typos

About

Discord slash command utility for discord.js bot developer support

Topics

Resources

Stars

70 stars

Watchers

4 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages