18 Commits

Author SHA1 Message Date
owenrees 3e6116423a Feature/projects (#18)
* add up to 5 attachments

* multiclause function event handler

* fix incorrect Cog calls

* add default param as "all" so we can start differentiating the types of identifications in the future - projects / diseases

* abstract message sending

* overwrite global application commands

* pass message from projects to message sending and id functions
2025-12-08 13:17:18 +01:00
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 1a27b2bdb7 remove id application command 2025-01-15 21:59:39 +01:00
Owen 617b64eae2 reworked aliases 2025-01-15 21:59:39 +01:00
Owen 1c84a97fb8 status message fixed 2025-01-13 15:57:33 +01:00
Owen e6103df1ae consumes attachments for ID 2025-01-10 20:07:07 +01:00
Owen b8f7dab8f4 no accepted image type error return 2024-12-22 21:17:21 +01:00
Owen 9b59fff176 change applciation commands structure 2024-12-22 11:58:19 +01:00
Owen bb4ddf5243 separation of commands 2024-12-22 11:58:19 +01:00
Owen 5188c399b8 pass uploaded attachments to API 2024-12-18 11:27:07 +01:00
Owen 2652a8f561 Discord customer logger 2024-12-17 15:28:34 +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
Owen 1c4d0fb8af initial commit 2024-12-13 22:03:26 +01:00