Commit Graph

28 Commits

Author SHA1 Message Date
Aster Fialla
15a040d1d1 forgot to switch over some tests in bot.test and commands.test 2026-02-24 16:55:51 -05:00
Aster Fialla
5d8ff9c6c6 one more test in commands.js, and removed console.error 2026-02-24 16:22:38 -05:00
Aster Fialla
c19614b6a1 refactoring commands.js and tests to not use then/catch 2026-02-24 14:50:46 -05:00
Aster Fialla
6937d7b694 made import error not a PDF again 2026-02-23 15:51:12 -05:00
Aster Fialla
e31d9c2881 removed now-unneeded .toJSON() for embeds 2026-02-23 15:20:39 -05:00
Aster Fialla
7dfc949b63 separated out commands to be more easily testable and added functionality for aliases 2026-02-23 15:10:48 -05:00
Aster Fialla
c752ee2bf2 Revert "adding debounce" cus it's not working
This reverts commit 1d27db960c.

# Conflicts:
#	src/bot.js
2026-02-23 11:19:26 -05:00
Aster Fialla
1d27db960c adding debounce 2026-02-23 08:47:27 -05:00
Aster Fialla
d9530a2ccf structure and test revamp for memberHelper 2026-02-23 00:18:14 -05:00
Aster Fialla
be24034d48 updating tests and memberHelper to try and make parseMemberCommand less bloated/broken (not working ATM) 2026-02-22 21:40:42 -05:00
Aster Fialla
b64ba6e787 made it easier to make a member 2026-02-19 21:36:19 -05:00
Aster Fialla
d640322392 removed unnecessary await and console.log 2026-02-19 20:32:35 -05:00
Aster Fialla
b1a29fd3ff edit enums, tweak import content command 2026-02-19 20:30:55 -05:00
Aster Fialla
c4c6ad0fdd fixed bug for import not sending help text, added help text if you type a unrecognized command 2026-02-19 19:31:56 -05:00
Aster Fialla
400e40a405 updated sendMessageAsAttachment to returnBufferFromText and updated commands/webhookHelper accordingly 2026-02-18 09:19:44 -05:00
Aster Fialla
15703c24cd moved import to helpers folder 2026-02-17 23:03:19 -05:00
Aster Fialla
35b454bc80 Revert "converted import syntax to commonJS"
This reverts commit 5ab0d62b
2026-02-17 17:25:18 -05:00
Aster Fialla
5ab0d62bdb converted import syntax to commonJS
removed unused methods
2026-02-17 17:16:09 -05:00
Aster Fialla
be5505b03c added --help functionality to import command 2026-02-16 13:15:28 -05:00
Aster Fialla
dafbafeec6 if parsing member command returns null, don't send anything. 2026-02-15 16:48:51 -05:00
Aster Fialla
f81da5ac27 added handler to send string as an attachment if it's too long 2026-02-15 16:20:42 -05:00
Aster Fialla
be83e8d629 removed unnecessary console.logs 2026-02-15 15:57:28 -05:00
Aster Fialla
fc7309630f edited enums description 2026-02-15 01:42:12 -05:00
Aster Fialla
5d80895918 got import messages working! 2026-02-15 01:29:56 -05:00
Aster Fialla
d512e11682 WIP import. sort of working except error handling and message is not, and can't convert images 2026-02-15 01:17:06 -05:00
Aster Fialla
163bad02df adjusting attachment arguments to work 2026-02-14 22:15:49 -05:00
Aster Fialla
89fe2c70b2 put braces around throw e 2026-02-14 22:15:49 -05:00
Aster Fialla
3d36e6c9fc hopefully correct error handling for real 2026-02-14 22:15:49 -05:00