Commit Graph

13 Commits

Author SHA1 Message Date
dependabot[bot]
3a2900c227
Bump moment from 2.24.0 to 2.29.4 (#28)
Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 14:39:09 -07:00
dependabot[bot]
8416d85459
Bump node-fetch from 2.6.1 to 2.6.7 (#24)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 14:33:59 -07:00
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
Daniel
d22b5b48c3
Update bot to discord.js v13 (#14)
* Update .gitignore

* Update tsconfig.json

* add catch

* fix script in package.json

* Update discord.js to v13

* Update index.ts

* Update user.ts

* Update support.ts

* Update moderation.ts

* Update meme.ts

* Update tsconfig.json

* Update index.d.ts
2021-09-22 08:14:24 -07:00
Daniel
0179255839
Update package.json 2021-06-17 14:15:41 -07:00
Daniel
f5680cbaca
2.0.0 2021-05-14 10:31:58 -07:00
Daniel
5b0ab9d112
Update package.json 2021-05-14 10:31:26 -07:00
Daniel
6d20d55e4b
Update package.json 2021-05-14 00:23:16 -07:00
dependabot[bot]
f56e675a08
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 22:23:52 +00:00
Slluxx
0b786d91c8 Added node-fetch 2020-06-15 07:02:21 +02:00
DanielC-08
cc52de8a9a Update package.json 2020-04-25 02:15:19 -07:00
hax4dayz
83e185f62f Addning a boat load of stuff and something for @techgeekgamer to work on 2020-04-15 15:01:54 +02:00
hax4dayz
d8fed8d78c Creating Package.json 2020-04-06 20:27:20 +02:00