Statements are now generated via embed. Gruff & Prawn/Prawn-Table are no longer needed.

This commit is contained in:
2026-01-06 14:37:35 -03:00
parent d824afc5da
commit 741762856d
5 changed files with 90 additions and 106 deletions

View File

@@ -50,12 +50,11 @@ class FrugalityBot
module_name = filename.split('_').map(&:capitalize).join
begin
# We find the module inside 'Commands' namespace
comm_module = Commands.const_get(module_name)
# Register the command
comm_module.register(@bot, @db)
puts "Loaded command: #{module_name}"
sleep(1.5)
rescue NameError => e
puts "Could not load #{filename}: Module 'Commands::#{module_name}' was not found."
rescue StandardError => e