module RecipeRemovelastExtension
Public Instance Methods
Source
# File plugins/ai.rb, line 2384 def manage_command(network:, channel:, args:, actor_nick:, is_op:, **kwargs) parsed = parse_command(args) if parsed[:action] == :removelast return RecipeStore.format_remove_last_reply( RecipeStore.remove_last_recipe!( network: network, channel: channel, store: kwargs[:store] || RabbotDb ) ) end super end
Calls superclass method
Source
# File plugins/ai.rb, line 2378 def parse_command(text) return { action: :removelast } if text.to_s.strip.casecmp?("removelast") super end
Calls superclass method