Skip to content

Instantly share code, notes, and snippets.

@NuckChorris
Last active December 17, 2015 09:59
Show Gist options
  • Select an option

  • Save NuckChorris/5591110 to your computer and use it in GitHub Desktop.

Select an option

Save NuckChorris/5591110 to your computer and use it in GitHub Desktop.
require 'multi_json'
require 'sold/index'
class Info < Sold::Module
help :info, "Outputs a JSON string of the bot config file."
command :info { |args| Sold::Config("bot").dump }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment