Commit Graph

60 Commits (dev)

Author SHA1 Message Date
Matthew 33c2c45697 Merge pull request 'MessagePinReactionHandler.ts' (#1) from Harry/crv2-MessagePinReactionHandler.ts:master into dev
Reviewed-on: #1
2025-03-25 21:33:31 -04:00
Matthew 6b69c823a5
update to package.json 2025-03-21 15:06:31 -04:00
Matthew aa110f81d1
changes to Eval.ts and add TLS command to index 2025-02-16 08:42:53 -05:00
Matthew b786709741
additions to MemberAdditionalAcknowledgement type in Member.ts 2025-02-16 08:41:19 -05:00
Matthew 60e457696a
Formatters.ts fixes 2025-02-11 20:01:46 -05:00
Matthew 277bb4e4ec
changes to Partner.ts and TLS.ts 2025-01-30 21:36:21 -05:00
Matthew 51c9d14dc1
changes to Formatters.ts 2025-01-30 21:33:06 -05:00
Matthew 28d0a2d485
add config option for mongo db connection uri 2025-01-30 21:02:29 -05:00
Harry Rose 54845033f1 Update discord/events/MessageReactionRemove.ts
Switched error messages to ephermal: true

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 20:34:31 -05:00
Harry Rose 65f4bd92dc Update discord/events/MessageReactionAdd.ts
switched error messages to Ephemeral: true

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 20:33:31 -05:00
Harry Rose e6dae3ae48 MessageReactionAdd.ts
Pins a message when a partner adds a 📌 reaction to it

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 18:02:28 -05:00
Harry Rose 9374a1bca6 MessageReactionRemove.ts
Unpins a message when a partner removes the 📌 reaction from it

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 18:00:58 -05:00
Harry Rose b37ac915c2 MessageReactionAdd.ts
Pins messages in a channel when a partner adds a 📌 reaction

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 17:54:35 -05:00
Harry Rose 6f561f3b44 MessagePinReactionHandler.ts
/**
 * Handles both 'messageReactionAdd' and 'messageReactionRemove' events.
 * When a reaction is added or removed:
 * - If the reaction matches the specified emoji and the user has the required role,
 *   the message will be pinned or unpinned in the channel accordingly.
 */

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 02:12:27 -05:00
Matthew ba6c9218c1
implement canExecDevCommands todo for eval 2024-11-17 00:58:09 -05:00
Matthew fdaeeec513
naming fixes 2024-11-17 00:56:54 -05:00
Matthew 3b5b8db6c1
finishes to Whois.ts 2024-11-09 18:15:05 -05:00
Matthew 3a2d5d44fc
type fixes for DiscordEvent.ts 2024-11-09 18:14:49 -05:00
Matthew 0ee34462bf
canExecuteDevCommands 2024-11-09 18:14:41 -05:00
Matthew 58841b2830
correct Ref for directReport in PartnerModel 2024-11-09 18:14:24 -05:00
Matthew dac548d82c
update Formatters 2024-11-09 18:14:10 -05:00
Matthew bc10712329
update all files 2024-10-25 16:57:33 -04:00
Matthew 599159c6ea
README.md changes 2024-10-25 16:57:20 -04:00
Matthew 67fe2b8e24
update packages 2024-10-25 16:57:14 -04:00
Matthew f21d711e3f
add LICENSE 2024-10-25 16:57:07 -04:00
Matthew 880ff7db9f
add CONTRIBUTING.md 2024-10-25 16:57:02 -04:00
Matthew a5fd953547
prettier config 2024-10-25 16:56:51 -04:00
Matthew 77a25e1681
eslint config 2024-10-25 16:56:43 -04:00
Matthew 43709e07f9
add eslint 2024-10-25 16:56:23 -04:00
Matthew 2dc23b5298
MemberUtil.ts formatting changes 2024-10-24 20:40:37 -04:00
Matthew 4dddc4c316
index 2024-10-24 20:40:26 -04:00
Matthew 68bc72a0c4
add constants to Eval.ts 2024-10-24 20:40:21 -04:00
Matthew 65950def3f
interaction changes 2024-10-24 20:40:14 -04:00
Matthew 4fb3817702
status and changes to Whois.ts 2024-10-24 20:40:08 -04:00
Matthew 0811bfbde9
fix for description issue 2024-04-05 20:13:22 -04:00
Matthew 1e2b777672
updates to partner database to include parameter for using dev commands 2024-04-05 20:13:11 -04:00
Matthew 1940d49884
logging for formatName (remove) 2024-04-05 20:12:56 -04:00
Matthew e6b8291b2a
additional discord rtc 2024-04-05 20:12:46 -04:00
Matthew 6e6ebacf57
partner add subcommand (unfinished) 2024-04-05 20:12:32 -04:00
Matthew 026f5fb47f
add partner command to index and create Partner.ts command 2024-04-05 20:12:22 -04:00
Matthew 9d710dc0db
provide typings for a DiscordInteractionCommand to be used primarily for subcommands 2024-04-05 20:11:59 -04:00
Matthew 98c1e83770
add Whois.ts command (TODO) 2024-04-02 16:39:49 -04:00
Matthew 754983ab08
formatting todo comment 2024-04-02 16:39:36 -04:00
Matthew 3e80cba3c1
add database connection "hardcoded for testing" (add todo comment) 2024-04-02 16:39:02 -04:00
Matthew 957c5a8928
add database connection "hardcoded for testing" 2024-04-02 16:38:39 -04:00
Matthew a1e59fa275
Member.ts and Parner.ts classes shall implement interface SharedMemberAttributes 2024-04-02 16:38:27 -04:00
Matthew 8cd51cac26
set return type for abstract execute() to Promise<void | any> 2024-04-02 16:38:00 -04:00
Matthew ed90a4c3f9
MemberUtil.ts 2024-04-01 20:04:46 -04:00
Matthew fc80647a41
addtl changes for Member.ts and Partner.ts 2024-04-01 20:04:34 -04:00
Matthew ad9a518b97
comments for CommunityReport.ts 2024-03-25 15:12:11 -04:00