Commit Graph

6 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 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