Commit Graph

186 Commits

Author SHA1 Message Date
Ean Milligan (Bastion) 75aeda6195 Move creation fields to common location to reuse for editing
also fix bot deleting own messages like an idiot
2023-04-25 04:31:12 -04:00
Ean Milligan (Bastion) 7352554ddf Add edit menu 2023-04-25 03:21:02 -04:00
Ean Milligan (Bastion) ce0a3cca1d Move tokenMap to own file since its used everywhere
tokenCleanup is now a separate module of code to make it better organized.
2023-04-25 03:08:15 -04:00
Ean Milligan (Bastion) 3475f84623 how long has this had the wrong bot name lmao 2023-04-21 02:45:02 -04:00
Ean Milligan (Bastion) 815364305b Update guild delete and clean map 2023-04-21 02:41:37 -04:00
Ean Milligan (Bastion) 4011cf74d6 Add LFG channel cleaning and @mention command 2023-04-21 02:27:29 -04:00
Ean Milligan (Bastion) 00a98db405 Add manager Join/Leave/Alternate commands
additionally update deleteConfirmed such that the group up manager name syntax matches name syntax elsewhere in the bot
2023-04-21 02:00:36 -04:00
Ean Milligan (Bastion) 9051792ff3 Implement Delete Event Button
Additionally moved pathIdxSeparator and Ender to eventUtils
2023-04-15 05:04:38 -04:00
Ean Milligan (Bastion) 5bf0de06ee deno fmt 2023-04-14 17:23:57 -04:00
Ean Milligan (Bastion) 2661c1398c reordering these to my liking 2023-04-14 17:23:23 -04:00
Ean Milligan (Bastion) e52e384fb9 Add option to alternate to denied join request
Additionally:
Added light telemetry to joinRequest buttons
Added loudAcknowledge to editEvent so that the alternate event in DM has a proper response
Stopped exporting the execute functions from all live-event buttons, I have no clue why I did that in the first place
2023-04-14 17:20:57 -04:00
Ean Milligan (Bastion) 126689171d Join Request Responses added
Event owner can now approve or deny requests
Made all event buttons common strings
2023-04-14 15:52:45 -04:00
Ean Milligan (Bastion) 7c999ed27b Add DST notice to TZ entry 2023-04-11 20:22:18 -04:00
Ean Milligan (Bastion) a6848eb33a Started work on WL Event system, minor update to other files for consistency
db.ts, setup.ts, delete.ts: change lfgSettings to use generator function for map key
joinEvent.ts: add first half of WL system, add system to reduce spam/abuse of this system.
commandUtils.ts: fix sendDirectMessage to return right promise
2023-04-09 04:12:53 -04:00
Ean Milligan (Bastion) 487079713f add couple comments 2023-04-08 05:11:41 -04:00
Ean Milligan (Bastion) c8befee5f4 Add full event notification 2023-04-08 05:09:35 -04:00
Ean Milligan (Bastion) 9c6f5ef7ec forgot to save this lol 2023-04-08 04:39:18 -04:00
Ean Milligan (Bastion) 485b232664 Add color to promotion notification 2023-04-08 04:38:33 -04:00
Ean Milligan (Bastion) c00e8e7c83 Add notification of promotion when user leaves full event 2023-04-08 04:31:04 -04:00
Ean Milligan (Bastion) bfcb993b03 Move leave button text to common spot 2023-04-08 04:29:03 -04:00
Ean Milligan (Bastion) 374d2547d9 Add DM function 2023-04-08 04:28:42 -04:00
Ean Milligan (Bastion) e9bc791f7d Add discord URL generation 2023-04-08 04:28:30 -04:00
Ean Milligan (Bastion) 2e9d3167cb fix comment wording 2023-04-08 04:28:08 -04:00
Ean Milligan (Bastion) 2b31e7949e Add join button, rework a lot of the alternate and leave button to actually work and be efficient 2023-04-08 03:42:22 -04:00
Ean Milligan (Bastion) 34172e7266 Add leave and alternate buttons 2023-04-08 02:53:51 -04:00
Ean Milligan (Bastion) 3769fe5724 utils reorg, moved things that are shared between live, editing, and creation to general utils file 2023-04-08 02:52:54 -04:00
Ean Milligan (Bastion) fa0ffe35e5 Properly initialize join/leave/alt btns 2023-04-07 01:45:33 -04:00
Ean Milligan (Bastion) d60668e86f deno fmt & initialize join/leave/alternate buttons 2023-04-07 01:37:04 -04:00
Ean Milligan (Bastion) 871398a28d Add getters for LFGMembers 2023-04-07 01:28:43 -04:00
Ean Milligan (Bastion) 025d1cb4c1 Update welcome message wordage/design, update join/leave button order 2023-04-07 00:47:54 -04:00
Ean Milligan (Bastion) 0a4c622dfe Add light telemetry (command counting) 2023-04-07 00:30:47 -04:00
Ean Milligan (Bastion) 5ccf65d89b Add error handling to event creation 2023-04-07 00:15:10 -04:00
Ean Milligan (Bastion) 3ff04ec8d7 Add new Among Us mode 2023-04-06 23:59:16 -04:00
Ean Milligan (Bastion) 5c4fded76b Update finalize event wordage 2023-04-06 23:49:39 -04:00
Ean Milligan (Bastion) 988f826545 deno fmt + change sendMessage to bot.helpers.sendMessage 2023-04-06 23:40:57 -04:00
Ean Milligan (Bastion) e609654761 Finalize event creation
Add active_event db table
Rename gameSelection button to gameSelection for consistency
Fix prefill for DateTime modal to correctly parse time and to not misparse other embeds
Add autoCleanup to finalize step
Add whole createEvent step
Code usability updates to event-creation utils
2023-04-06 23:23:52 -04:00
Ean Milligan (Bastion) be4caa1fb1 Those shouldn't be strings anymore 2023-03-28 20:23:08 -04:00
Ean Milligan (Bastion) c1f026bb04 Add user icon to event to hide their ID in a place where I can retrieve it from 2023-03-28 17:24:51 -04:00
Ean Milligan (Bastion) 89bfce32f0 All around datetime parsing update, finalize step allows editing, lfg creator mostly there 2023-03-27 22:41:59 -04:00
Ean Milligan (Bastion) 4ddfd70655 deno fmt 2023-03-26 21:37:47 -04:00
Ean Milligan (Bastion) 716913b24c Add parsing of date 2023-03-26 21:34:25 -04:00
Ean Milligan (Bastion) 2b62cd0e72 finalize time parsing, reorg all date/time parsing to new file 2023-03-26 03:55:33 -04:00
Ean Milligan (Bastion) 06b35d5a2c add TZ parsing 2023-03-25 02:28:39 -04:00
Ean Milligan (Bastion) 6e92407fc9 Parse event category/activity and time from user input 2023-03-24 17:25:39 -04:00
Ean Milligan (Bastion) 37a46d82f0 Fixes member count parsing and error handling, start adding finalize step 2023-03-23 15:49:43 -04:00
Ean Milligan (Bastion) 50aa8d204c Add TZ consts
Add all valid tz abbrs and the scripts that generated it
2023-03-23 02:30:51 -04:00
Ean Milligan (Bastion) 8c6a3749df Finish most of the create event 2023-02-02 21:33:27 -05:00
Ean Milligan (Bastion) d5f0b08e08 clean up button implementation some, start on custom act modal 2023-02-02 02:26:28 -05:00
Ean Milligan (Bastion) dad0b8ca76 deno fmt 2023-01-31 03:34:53 -05:00
Ean Milligan (Bastion) d712b116b6 Add button systems, add game selection, add initial details modal 2023-01-31 03:32:53 -05:00