Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_relative "db"
- commands = Help.all(:order => [ :id.desc ], :limit => 20)
- commands.each do |command|
- puts command.command
- puts command.usage
- puts command.desc
- puts command.op
- end
- help = Help.first_or_create({ :command => "command"}, {
- :command => "command",
- :usage => "!command argument",
- :desc => "does something interesting yay!",
- :op => true
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement