项目作者: MacND

项目描述 :
A DiscordJS bot for sharing Nookazon profiles
高级语言: JavaScript
项目地址: git://github.com/MacND/nookazon-helper.git
创建时间: 2020-04-23T01:34:22Z
项目社区:https://github.com/MacND/nookazon-helper

开源协议:

下载


nookazon-helper

A DiscordJS bot for storing and retrieving Nookazon links.

How to run the bot

1) Install Docker for your OS, and if you’re on Linux install Docker Compose
2) Clone the repo
3) Edit the appropriate fields in the docker-compose.yml file (Note: DB_PASS and MYSQL_PASSWORD must be the same value)
4) Run docker-compose up
5) All done!

On the first run Docker will create persistent data volumes for the database storage, these will not be destroyed unless you explicitly do so using docker-compose down -v.

How to use the bot

The bot only has 2 commands:

  • !nookazon or !nook: set and retrieve Nookazon profile information
    • Setting your profile information: !nook set https://nookazon.com/profile/1234567890
    • Retriving a user’s information: !nook DiscordUsername
      1. Nookazon information for Mac:
      2. Wishlist: https://nookazon.com/profile/1234567890/wishlist
      3. Catalog: https://nookazon.com/profile/1234567890/catalog
      Note: If a user’s username has spaces in it, wrap their username in double quotes, e.g. !nook "Discord Username"
  • !help: display help for the specified command
    • e.g. !help nookazon will show the help text for the nookazon command