Eri - Rei csxkdv
  • South America
  • I'm Eri (or Rei). I do code stuff for a living and as a hobby/for fun too.

  • Joined on 2025-06-21
csxkdv opened issue csxkdv/FrugalityBot#9 2026-01-06 21:19:49 +01:00
Localization - Global
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 21:18:38 +01:00
fc3c4787fe Localization added, but not implemented yet.
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 19:11:31 +01:00
1035b3d0ab Just added a newline to separate boilerplate from start of the code
csxkdv closed issue csxkdv/FrugalityBot#8 2026-01-06 19:09:32 +01:00
Fix to load commands code
csxkdv commented on issue csxkdv/FrugalityBot#8 2026-01-06 19:09:32 +01:00
Fix to load commands code

Fixed by updating the Dir lookup.

Dir["#{File.dirname(__FILE__)}/commands/**/*.rb"].each

This looks for .rb files inside src/commands and `src/commands/subfolder.

csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 19:07:54 +01:00
98c854929d Updated load_commands. Now it can load commands inside src/commands and subfolders inside commands folder.
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 18:42:22 +01:00
f5ec2f38fc Updated note to explain further about "TEST_SERVER_ID".
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 18:40:43 +01:00
ba22833413 Updated README based on current state of the bot.
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 18:37:39 +01:00
741762856d Statements are now generated via embed. Gruff & Prawn/Prawn-Table are no longer needed.
Compare 2 commits »
csxkdv closed issue csxkdv/FrugalityBot#1 2026-01-06 18:32:55 +01:00
Update the way statements are generated - UX/UI
csxkdv commented on issue csxkdv/FrugalityBot#1 2026-01-06 18:32:55 +01:00
Update the way statements are generated - UX/UI

Related to Issue #7 - Update the way statements are generated (code), UX/UI has been improved by using embeds instead of a downloadable…

csxkdv closed issue csxkdv/FrugalityBot#7 2026-01-06 18:29:33 +01:00
Update the way statements are generated - Code
csxkdv commented on issue csxkdv/FrugalityBot#7 2026-01-06 18:29:33 +01:00
Update the way statements are generated - Code

Code works, updated backgroundColor for image graph due to default being transparent.

https://quickchart.io/documentation/

QuickChart's being used to generate graphs/charts, embeds help…

csxkdv commented on issue csxkdv/FrugalityBot#7 2026-01-06 18:23:11 +01:00
Update the way statements are generated - Code

Code finished. Testing phase now. Using embeds for the body and QuickChart.io for generating the doughnut chart.

Colors for the embed are randomly generated.

csxkdv commented on issue csxkdv/FrugalityBot#7 2026-01-06 18:04:32 +01:00
Update the way statements are generated - Code

Working on progress by turning the .PDF file into an Embed.

csxkdv closed issue csxkdv/FrugalityBot#2 2026-01-06 17:21:24 +01:00
Fixing ratelimit warnings
csxkdv commented on issue csxkdv/FrugalityBot#2 2026-01-06 17:21:24 +01:00
Fixing ratelimit warnings

Fixed by adding sleep(amount_of_seconds), where amount_of_seconds can be an Integer, or a Float.

https://apidock.com/ruby/v2_5_5/Kernel/sleep

csxkdv opened issue csxkdv/FrugalityBot#8 2026-01-06 03:35:13 +01:00
Commands folder can fail if folders are created inside it
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 03:23:59 +01:00
4a535d4080 Updated markdown for "License" to point at the website instead of the LICENSE file
csxkdv pushed to main at csxkdv/FrugalityBot 2026-01-06 03:18:42 +01:00
d5e727c358 Renamed "COPYING" to "LICENSE". That's it.