Commit Graph

39 Commits

Author SHA1 Message Date
owenrees 0eddf04678 Projects and Diseases placeholder application commands (#17)
* fix module name in backup

* save projects to persistent_term

* retrieve projects on bot startup

* remove commented out code

* register project autocomplete

* placeholder text for project

* placeholder disease command
2025-12-08 08:53:48 +01:00
owenrees 02372f2076 Feat/error logs (#16)
* added list of tasks to achieve

* update deps

* update elixir version in CI/CD pipeline

* update todo with branch push checks

* underscores separation of large numbers

* update elixir version and deps

* add basic module  docs

* remove IO.inspect call

* check if list is empty rather than traversing list for length

* revert empty list code

* duration tests

* add mime type tests

* use logger instread of inspect, remove todos

* replace list length check with Enum.empty

* replace list length check with !Enum.empty?

* numbers readability fix by using underscores on large numbers

* iucn parser replaced case with multiclause function and added test

* replace map and join with map_join

* fix multiple spec issues where map() must be inside a list
2025-12-06 23:41:59 +01:00
Owen 8da0f33faa basic error handling test 2025-01-15 21:59:39 +01:00
Owen 1a27b2bdb7 remove id application command 2025-01-15 21:59:39 +01:00
Owen c9e0c2db0b dev env error log to console included metadata 2025-01-15 21:59:39 +01:00
Owen ac513edac8 update error messages and get guild name 2025-01-15 21:59:39 +01:00
Owen 617b64eae2 reworked aliases 2025-01-15 21:59:39 +01:00
Owen 663c175da7 hotfix for get requests 2025-01-14 16:36:36 +01:00
Owen 8e31c04f44 updated error message 2025-01-13 23:37:53 +01:00
Owen 14ec01cbfd reduced code for dev and test env 2025-01-13 23:34:06 +01:00
Owen 096878fb0d info image size text update 2025-01-13 23:10:42 +01:00
Owen 490ab7103a info command text updates 2025-01-13 21:01:42 +01:00
Owen 3d0dc324a6 custom rate limits 2025-01-13 15:57:33 +01:00
Owen 498c5ebd6f refactoring of modules 2025-01-13 15:57:33 +01:00
Owen d68f4abf4b create message fixes, fixing errors related to channel_id 2025-01-10 22:23:43 +01:00
Owen cd65779142 reply to message and take only first 5 attachments 2025-01-10 20:07:07 +01:00
Owen e6103df1ae consumes attachments for ID 2025-01-10 20:07:07 +01:00
Owen 5c0c5ae960 metrics plugged into interaction responses 2025-01-09 15:06:39 +01:00
Owen b8f7dab8f4 no accepted image type error return 2024-12-22 21:17:21 +01:00
Owen 22cb7bf096 config and use of env var changed 2024-12-22 20:40:32 +01:00
Owen f9463c3af2 fix relase environments 2024-12-20 21:58:20 +01:00
Owen f61c739591 fixed missing api base url env 2024-12-20 21:30:19 +01:00
Owen f44e329ff7 separation of functions 2024-12-18 12:46:27 +01:00
Owen 32b5473222 file server images in prod and internet sourced images in other environments 2024-12-18 11:51:55 +01:00
Owen 5188c399b8 pass uploaded attachments to API 2024-12-18 11:27:07 +01:00
Owen cdfca22248 error log updates 2024-12-17 16:50:45 +01:00
Owen 2652a8f561 Discord customer logger 2024-12-17 15:28:34 +01:00
Owen 322c499725 reset request counts in rate limiter every day at midnight 2024-12-17 12:15:47 +01:00
Owen 040ff63e6d file deletion on response 2024-12-16 23:05:51 +01:00
Owen b85d9350a5 add static analysis tool Dialyzer 2024-12-16 22:42:30 +01:00
Owen cfdc5018c2 follow up messages, separation of identification functions 2024-12-16 22:30:08 +01:00
Owen 727706bb2c image download and save ran as async task 2024-12-16 20:45:30 +01:00
Owen c04b7f2d22 image saving with basic error handling 2024-12-16 16:25:38 +01:00
Owen 5a5700fab7 parse response and generate a interaction response 2024-12-16 14:45:07 +01:00
Owen 1b1fa19fff file server started in supervisor tree 2024-12-15 22:48:47 +01:00
Owen 81c95c28b2 request limiter 2024-12-15 22:34:59 +01:00
Owen 7cf2e79c3e status command 2024-12-15 16:10:37 +01:00
Owen 5d6e632a1d info and help with test 2024-12-14 00:17:30 +01:00
Owen 5975458407 /source application command with test 2024-12-13 23:02:23 +01:00