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
0009a82460
updated tests
2025-01-13 15:57:33 +01:00
Owen
3d0dc324a6
custom rate limits
2025-01-13 15:57:33 +01:00
Owen
683c4c4de2
groundwork for custom request limits, with 10 requests now standard
2025-01-13 15:57:33 +01:00
Owen
1e1e74a35d
fetch ratelimiter metrics
2025-01-13 15:57:33 +01:00
Owen
498c5ebd6f
refactoring of modules
2025-01-13 15:57:33 +01:00
Owen
1c84a97fb8
status message fixed
2025-01-13 15:57:33 +01:00
Owen
b806b78b23
do not show common name text when no common names exist - either nil or empty list
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
d68f4abf4b
create message fixes, fixing errors related to channel_id
2025-01-10 22:23:43 +01:00
Owen
71d728fb1a
remove no alternatives found text
2025-01-10 22:18:27 +01:00
Owen
bcdccd4b76
IUCN data as full sentences, not abbreviations
2025-01-10 21:16:16 +01:00
Owen
0494ad7ff5
plant database links wording
2025-01-10 21:06:11 +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
529630b85d
change to webhook env variables
2025-01-10 12:32:33 +01:00
Owen
8665f1c854
metrics sent to discord via CRON job
2025-01-10 11:17:41 +01:00
Owen
68df89b5e0
added first and last request times per guild
2025-01-10 09:57:39 +01:00
Owen
5c0c5ae960
metrics plugged into interaction responses
2025-01-09 15:06:39 +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
ffe6fca781
remove threat status text if no iucn data is available
2024-12-29 20:17:56 +01:00
Owen
edf4364498
update deps to pull from hex
2024-12-27 09:25:50 +01:00
Owen
22426b9363
get image url change
2024-12-22 21:26:04 +01:00
Owen
b8f7dab8f4
no accepted image type error return
2024-12-22 21:17:21 +01:00
Owen
593704cb15
port update in prod
2024-12-22 20:58:01 +01:00
Owen
22cb7bf096
config and use of env var changed
2024-12-22 20:40:32 +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
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
cab8b052bf
remove tesla from logger
2024-12-18 12:00:52 +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
70f067f747
delete files as task
2024-12-17 11:23:50 +01:00