Commit Graph

22 Commits

Author SHA1 Message Date
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 18b1c02733 upgrade logger webhook backend 2025-01-15 23:10:05 +01:00
Owen 6563ea6c5b doctest update 2025-01-15 22:02:04 +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 ac513edac8 update error messages and get guild name 2025-01-15 21:59:39 +01:00
Owen 0009a82460 updated tests 2025-01-13 15:57:33 +01:00
Owen 9fe768b8c4 do not show common name text when no common names exist 2025-01-13 15:57:33 +01:00
Owen 8a9c848e28 updated to reflect IUCN category changes 2025-01-10 21:19:44 +01:00
Owen 84bbafb441 updated tests 2025-01-10 11:48:15 +01:00
Owen c7d47ee6ed state machine with requests per guild 2025-01-09 14:44:22 +01:00
Owen 0b656b4d24 parsed message paragragh spacing fixes 2024-12-31 21:41:36 +01:00
Owen fdde451bb0 typo fix 2024-12-31 21:41:36 +01:00
Owen ffe6fca781 remove threat status text if no iucn data is available 2024-12-29 20:17:56 +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 1fb1cd2555 response parser with tests 2024-12-16 11:00:45 +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