Korral-JS/tsconfig.json
Daniel ecc50d6e7b
📁-> 📁 Merge Korral-Interactions and Korral-JS (#17)
* Create tn_rules.json

* Update index.d.ts

* Message commands moved to msg_commands/

* Add button commands

* Add classes

* Add slash commands

* Create deepsea.ts

* Don't delete ticket msg (wip)

* Move typings to typings/index.d.ts

* Add support for slash commands (WIP)

* Version 3.0.0

* Fix typo in lmgtfy

* Add Command#customId

* Correct indentation on open_ticket.ts

* Load buttons/commands on boot

* Update index.d.ts

* Ignore deepsea_db.json

* Add console logs

* Update cached DeepSea data on boot and every hour

* Fix typo in ButtonCommand class

* Handle button interactions

* Remove default allowedMentions

* Client#closeSupportThread fix archive and lock

* Store thread ID when starting a ticket

* Fix command loading code

* Move ActiveTickets interface to typings

* Rename hasActiveTickets -> activeTickets & save to file

* Move button command loading to function

* Move slash command loading to function

* Move all starting functions to startBot function

* Add activeTickets.json to .gitignore

* Add Client#supportThreadExists

Checks if user has an existing support thread

* Enable source maps

* Rename supportThreadExists -> getSupportThreadData

* Check for existing support thread before making a new one

* Use threadChannelId from activeTickets in client#closeSupportThread

* Get data for closing a ticket from client#getSupportThreadData

* Update createSupportThread & closeSupportThread method

* Add button to view current ticket when attempting to open new ticket

* Automatically delete thread message on thread deletion & release open state

* Update discord.js to 13.3.1

* Update types/node package

* Update packages

* Pin intro message on ticket creation

* Specify customId of command when error

* Fix role check when closing ticket

* Fix errors related to warn command

* Array<string> -> string[]

* Add comments to typings and add ticketCloseMessage prop

* Allow setting a custom message to be shown when a ticket is closed

09cdb81573

* Add support for Context Menu commands

* Add staffOnly prop to classes

- Command
- ContextMenuCommand
- ButtonCommand

* Store when a ticket was created

* Support staffOnly commands

* Add Quote Message CTX command

Reposts a message in the channel specified in config.messageQuoteChannelId

* Add config prop closingTicketsSettings

- Can set a minimum amount of time until a ticket can be closed
- Can set a message to be sent on closing a ticket

* Update close_ticket_.ts

* Add option to prompt before opening a ticket

- Added config.openingTicketPrompt
- Added open_ticket_prompt button (Will open ticket normally if config.openingTicketPrompt.enabled is not set/disabled)

* Update staff checks

* Fix avatar command

* Specify guides are not created by Team Neptune

* Fix rule command

* Update ticket.ts

* Update prompt

* Prompt for information before pinging the support role

* Update index.ts

* Update quote_message.ts

* Update close_ticket_.ts

* Ping support role after first message

* Add check to prevent crashing from invalid interaction

* Update isStaff check

* Allow removing from private ticket

* Update index.d.ts

* Allow switching between Private/Public ticket (staff required)

* Update ticket.ts
2021-12-05 14:38:56 -08:00

9 lines
180 B
JSON

{
"include": ["src/**/*", "typings/"],
"compilerOptions": {
"outDir": "dist",
"target": "ES5",
"moduleResolution": "node",
"sourceMap": true
}
}