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.
|
|
|
def pingcommand_initialize(bot, bang)
|
|
|
|
bot.message(with_text: "#{bang}Ping") do |event|
|
|
|
|
ping(bot, event)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def ping(bot, event)
|
|
|
|
event.respond 'Pong!'
|
|
|
|
end
|