Sha256: a95a90f5a702e82371615257cfc0912c486a7d03ab7571ab910dd85ab8fae1b1
Contents?: true
Size: 966 Bytes
Versions: 1
Compression:
Stored size: 966 Bytes
Contents
require "ruboty" module Ruboty module Handlers class Snack < Base OYATSU = %w( ๐ฐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฝ ๐ ๐ ๐ง ๐ ๐ ๐ค ๐ณ ๐ ๐ญ ๐ ๐ ๐ฎ ๐ฏ ๐ ๐ฒ ๐ฅ ๐ฃ ๐ฑ ๐ ๐ ๐ ๐ ๐ข ๐ก ๐ง ๐จ ๐ฆ ๐ฐ ๐ ๐ฎ ๐ฌ ๐ญ ๐ซ ๐ฟ ๐ฉ ๐ช ๐ ) on( /ใ่ น(?<status>.+)/, name: "feed_snack", description: "Gives you some snacks" ) def feed_snack(message) oyatsu = case message[:status] when /ใใ/, /็ฉบ/, /ใธใฃ/, /ๆธ/, /ใใ/, /ใใณใใณ/, /ใบใใบใ/ OYATSU.sample when /็ใ/, /ใใใ/ "๐" when /ใใฃใฑใ/, /ใฑใใฑใ/, /ใใณใใณ/, /ใ/, /่ฆ/ "โ" end message.reply("ใค#{oyatsu}") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruboty-snack-0.2.0 | lib/ruboty/handlers/snack.rb |