Commit Graph

806 Commits

Author SHA1 Message Date
Isaac
52633122c7
Add support for non-default database ports 2021-02-26 15:34:06 +00:00
Isaac
74fa568a7c
Add categories database table 2021-02-25 13:12:15 +00:00
Isaac
1f2d40234b
Logger and fastify, settings server 2021-02-25 12:34:16 +00:00
Isaac
a0b1853bff
Do things 2021-02-25 09:58:19 +00:00
Isaac
7cf29040ce things 2021-02-22 23:40:16 +00:00
Isaac
92ec5f2bfc Create custom.json 2021-02-22 23:40:11 +00:00
Isaac
18883d5d20
do stuff 2021-02-22 00:05:37 +00:00
Isaac
2910a2a201
progress 2021-02-21 15:58:06 +00:00
Isaac
ed12120f1b
Fix thing, add number column to tickets 2021-02-20 21:27:49 +00:00
Isaac
5e9e23bbf2
progress 2021-02-20 17:09:08 +00:00
Isaac
9016da2f73
moved 2021-02-19 23:39:59 +00:00
Isaac
67e7d36c47
Improved plugin manager and added to command manager 2021-02-19 21:26:02 +00:00
Isaac
bdcff221db
Command handler stuff, presences, other stuff 2021-02-18 18:41:35 +00:00
Isaac
7c0b1311dc
Improvements and fixes, start on command manager 2021-02-17 22:01:44 +00:00
Isaac
8b661f0462
Improve startup checking
Now attempts to copy example config & env automatically instead of just complaining about it
2021-02-17 20:51:03 +00:00
Isaac
14d7c32742
Plugin improvements and JSDoc 2021-02-17 20:17:35 +00:00
Isaac
ce2942879c
Clean up 2021-02-17 13:24:33 +00:00
Isaac
4c8e9125e5
Make things work 2021-02-16 23:35:31 +00:00
Isaac
5fdfb121c7
things 2021-02-16 22:34:20 +00:00
Isaac
cf8dff2a5b
Database 2021-02-16 14:48:04 +00:00
Isaac
dc902b6daf
Fix 2021-02-16 12:28:43 +00:00
Isaac
8a827582c6
Update database.js 2021-02-16 00:06:22 +00:00
Isaac
f44e9080e5
Start making
Start on the basic structure, database stuff
2021-02-16 00:02:44 +00:00
Isaac
9863c45fdf
Set up for v3 2021-02-15 18:34:59 +00:00
David Ralph
c630dd6da7 Only create a logger instance once 2021-02-08 18:18:58 +00:00
Oliver Cordingley
bfc9080fa7
Update closeall.js 2021-01-24 22:17:55 +00:00
Oliver Cordingley
86578331f7
Update closeall.js 2021-01-24 22:15:50 +00:00
Oliver Cordingley
76572c5d18
Update ticket's updatedAt property in msg event
This allows for messages to be closeall'd by the last message rather than creation date
2021-01-23 18:20:31 +00:00
Oliver Cordingley
0952d7fc37
linted + removed uneeded pkg require placed by VSCode 2021-01-23 17:47:38 +00:00
Oliver Cordingley
a0a15c4551
closes all tickets before a specified date 2021-01-23 17:45:35 +00:00
Oliver Cordingley
33b300f2b3
closeall logs use already-defined plural method 2021-01-19 17:20:49 +00:00
Oliver Cordingley
d725324053 Fixed and tested issues pointed out by @Eartharoid 2021-01-16 20:18:49 +00:00
Oliver Cordingley
c12d5ba047 improved logging for closeall 2021-01-16 17:06:05 +00:00
Oliver Cordingley
3d2b3c12cb fixed eslint problems in closeall.js 2021-01-16 15:50:15 +00:00
Oliver Cordingley
bf12ac8e7a fixed closing (db & discord channel) in closeall 2021-01-16 15:44:35 +00:00
Oliver Cordingley
2cd943985e linted code 2021-01-16 14:50:52 +00:00
Oliver Cordingley
a84614fbdd closeall sets all open tickets to closed
* currently does not update channels after closing.
2021-01-16 14:19:37 +00:00
Isaac (eartharoid)
ae1d24236f Improvements and fixes 2021-01-01 15:41:12 +00:00
o5pxels
234d1cd511 Rearrange default_topic in config, remove new test 2020-12-21 10:38:40 -06:00
o5pxels
29b7665279 Add else to fix topic testing 2020-12-20 23:03:44 -06:00
o5pxels
c194b74d23 Fix regex test in the new command 2020-12-20 23:02:57 -06:00
o5pxels
cc23cb6fa9 Fix regex expression test on default_topic 2020-12-20 23:01:26 -06:00
o5pxels
641f13169e Implement placeholder for default_topic 2020-12-20 20:14:35 -06:00
o5pxels
e7d9d3558a Options for confirm on close/delete on/off for new 2020-12-20 19:49:41 -06:00
Isaac (eartharoid)
6846a57a71 Separate archives channel 2020-12-03 22:55:57 +00:00
Isaac
2b5282b19e
Update close.js 2020-12-03 21:59:41 +00:00
Sébastien Guzman
390bec85c8 Made it so the bot dm's the creator and logs it in an logging channel 2020-12-03 22:40:33 +01:00
Sébastien Guzman
9b4dcdee51 Removed an oopsie 2020-12-03 22:30:29 +01:00
Sébastien Guzman
597a588132 edited the command so that the message is send to a channel instead of to the creator 2020-12-03 22:26:28 +01:00
Isaac (eartharoid)
7b0e2d8fed Add transcript members list in log message, as requested in #69 2020-11-24 23:18:32 +00:00
Isaac (eartharoid)
f572523e4b Replace emoji names with unicode characters
...to fix emoji in emebds for web archives
2020-11-20 23:50:08 +00:00
Isaac (eartharoid)
aab1b4a81a Fixed archive issues with emoji 2020-11-15 22:52:43 +00:00
Isaac (eartharoid)
36f263a07d Update archive.js 2020-11-13 19:57:06 +00:00
Isaac (eartharoid)
c3f1532bba Fixed archiving (linereader was broken)
Co-Authored-By: Camdan M <camthehelpdesk@gmail.com>
2020-11-13 19:50:11 +00:00
RhysB
5bdeb1f486 Add Ticket ID to ticket close message
This allows for staff to easily find ticket ids (at least recent ones).
2020-10-21 15:58:46 +10:00
Isaac
69154b1e42
Update index.js 2020-10-16 19:58:33 +01:00
Isaac (eartharoid)
abae5e75cf Update messageReactionAdd.js 2020-10-15 22:48:51 +01:00
Isaac (eartharoid)
ecd9bff03c regex 2020-10-15 21:01:48 +01:00
Isaac (eartharoid)
16876b1408 v2.1.1 - Paths are no longer relative 2020-10-14 22:37:57 +01:00
Isaac (eartharoid)
7143bdead2 Create transfer.js
Co-Authored-By: iFusion <31099360+iFusionFr@users.noreply.github.com>
2020-10-14 17:58:42 +01:00
David Ralph
1f92a5bce3 Error if Node is not v12 or higher, fix eslint error etc 2020-10-14 17:38:16 +01:00
Isaac (eartharoid)
d5f795416f Update tickets.js 2020-10-13 21:23:16 +01:00
Isaac (eartharoid)
92110b405f Update index.js 2020-10-12 22:57:24 +01:00
Isaac (eartharoid)
5846b88db2 Logger & presence activities 2020-10-12 22:45:37 +01:00
iFusion
a521ea0871
Update rename.js 2020-10-09 15:03:08 +02:00
iFusion
f0bef9c82d
Update rename.js 2020-10-09 15:02:36 +02:00
iFusion
49f38005d6
Add files via upload 2020-10-09 14:51:21 +02:00
iFusion
f08b4b0669
Add command -rename for rename the ticket channel 2020-10-09 14:49:06 +02:00
Isaac (eartharoid)
2a041b29ce Update delete.js 2020-10-05 23:15:24 +01:00
Isaac (eartharoid)
af11904359 Update close.js
Fix permission issue. Previously anyone added to a ticket could close it, whereas the expected functionality was that owner the creator or staff could close it. Thanks @iFusionFr for reporting the issue.
2020-10-05 23:11:55 +01:00
Isaac (eartharoid)
7c01fedb71 Minor fix 2020-10-05 22:55:41 +01:00
Isaac (eartharoid)
964747d43b Update index.js 2020-10-05 22:21:26 +01:00
David Ralph
4c163443cd consistency 2020-10-03 17:18:07 +01:00
David Ralph
b0ad6b7c88 features 2020-10-03 15:08:10 +01:00
Isaac (eartharoid)
585be0e7d5 Revert "Added extremely basic multi-role support"
This reverts commit 1c226e8f7e.
2020-09-24 17:55:40 +01:00
Isaac (eartharoid)
1c226e8f7e Added extremely basic multi-role support 2020-09-20 22:01:10 +01:00
Isaac
f2af5ef40c
Update ready.js 2020-09-08 18:36:41 +01:00
Isaac (eartharoid)
ee966aa9a9 Create delete.js 2020-09-07 13:00:39 +01:00
Isaac
f292a3083c
Update message.js 2020-09-07 11:10:55 +01:00
Isaac (eartharoid)
170a5796f7 fix typo 2020-09-07 10:13:09 +01:00
Isaac (eartharoid)
7c5ba65b0e minor stuff
you can't remove yourself anymore
2020-09-07 10:01:29 +01:00
Isaac (eartharoid)
97524f2c15 Fix the bot being able to remove itself, also fixed typo 2020-09-07 09:50:31 +01:00
Isaac (eartharoid)
b8970020b9 Update archive.js 2020-09-06 22:47:02 +01:00
Isaac (eartharoid)
e117e38bac small fixes 2020-09-06 21:45:02 +01:00
Isaac
2f18ad19dd
Update archive.js 2020-09-06 21:15:27 +01:00
Isaac
909ef7d0a7
Update archive.js 2020-09-06 21:12:14 +01:00
Isaac
88cd8efbdf
Update new.js 2020-09-02 13:43:21 +01:00
Isaac
8da1f916b4
Update messageReactionAdd.js 2020-09-02 13:42:15 +01:00
Isaac
d3581d319a
Update panel.js 2020-08-28 21:12:02 +01:00
Isaac (eartharoid)
9c8a8b3c2f Update messageDelete.js 2020-08-26 21:22:08 +01:00
Isaac (eartharoid)
d3fa3f3e68 better code 2020-08-25 23:53:35 +01:00
Isaac
22bfbf201a
Update archive.js 2020-08-25 23:21:28 +01:00
Isaac (eartharoid)
8c4befad7b fixed embeds in archive 2020-08-25 22:44:40 +01:00
Isaac (eartharoid)
8f5096ce5e Fixed archive embeds 2020-08-25 20:26:29 +01:00
Isaac (eartharoid)
097602b993 archives 2020-08-25 17:06:48 +01:00
Isaac
59ffa7056d
Update archive.js 2020-08-25 16:41:54 +01:00
Isaac (eartharoid)
015351afe5 Finished web archives, added suppor for custom emoji for panel reaction, minor fixes 2020-08-25 15:55:20 +01:00
Isaac (eartharoid)
4009daffbb minor edit 2020-08-24 17:27:28 +01:00
Isaac (eartharoid)
2c5699d946 config 2020-08-23 23:15:39 +01:00
Isaac (eartharoid)
9a63bee5e7 :) 2020-08-23 22:12:07 +01:00
Isaac (eartharoid)
5c65888c95 almost done.... 2020-08-23 22:01:21 +01:00
Isaac (eartharoid)
6425e3930c soon ™️ 2020-08-23 15:35:24 +01:00
Isaac (eartharoid)
b50215404c progress. archiving works (other than uploading to server) 2020-08-22 22:40:27 +01:00
Isaac (eartharoid)
5ed96f33d5 ... 2020-08-17 22:07:05 +01:00
Isaac (eartharoid)
62494aaa4d progress 2020-08-17 14:46:23 +01:00
Isaac (eartharoid)
8431b2d241 v2 rewrite with discord.js@v12 support. Now with SQLite or MySQL storage.
Code is at least 80% less bad.
2020-08-12 23:02:33 +01:00