You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
242 B
Ruby
16 lines
242 B
Ruby
3 years ago
|
#!/usr/bin/env ruby
|
||
|
|
||
|
def main(bot)
|
||
|
|
||
|
bot.message(with_text: "#{$bang}Pong") do |event|
|
||
|
event.respond 'Ping!'
|
||
|
end
|
||
|
|
||
|
bot.message(with_text: "#{$bang}Ping") do |event|
|
||
|
event.respond 'Pong!'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def tomlTest()
|
||
|
puts "#{$config}"
|
||
|
end
|