repost/plugins/commands/papiez.rb

9 lines
325 B
Ruby

Client.register_command("papie┼╝") { |args|
Config[:commands][:papiez][:noun] + " " +
File.readlines(Config[:commands][:papiez][:adjectives]).sample
}
Client.register_command("papiez") { |args|
Config[:commands][:papiez][:noun] + " " +
File.readlines(Config[:commands][:papiez][:adjectives]).sample
}