Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.76 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.76 KB

Wakapi-Discord

Wakapi integration in the BetterDiscord client. Enables you to track the time you spend answering support tickets.

Time spent in support tickets will be logged under the language "Tickets".

Installation

  • Copy plugin the plugins folder of BetterDiscord.
  • Customize the plugin based on your needs (if needed)
  • Open Discord and view any of the opened tickets.

Configuration

Wakapi Settings

Fill in you Wakapi API Key and Url in these fields. If you supply no API Key, the plugin won't start.

The sample rate is the amount of seconds that pass between each heartbeat that is sent to Wakapi.

Discord Settings

  1. Place the ID of the channels category you want to track (the tickets category for example). You can add multiple categories separated by a comma.
  2. (OPTIONAL) If you want to map the time spent in a tracked category to a project, put the id in this text area followed by => and the projectname. You can add multiple categories separated by a comma.

Development

  • Clone the repository

    git clone https://github.com/LoneDev6/Wakapi-Discord.git
  • Initialize your dev environment

    npm run dev:init
  • Make all of your changes inside of ./plugins/Wakapi

  • To build the plugin, run

    npm run dev:build

Branches

  • main => Code thats running in production. Don't touch!
  • develop => Dev branch. Use this to make pull requests against.