
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
This is a Campfire bot heavily inspired by http://github.com/ichverstehe/isaac
sudo gem install campfire_bot
require "rubygems"
require "campfire_bot"
Campfire::Bot.config do |bot|
# Login
bot.login do |l|
l.username = "username"
l.password = "password"
l.subdomain = "subdomain"
l.room = "room"
## or
# l.token = "XXX"
##
end
# Events
bot.on(/^How are you?/) do |room, message|
room.speak("Im very sad thank-you")
room.play("trombone")
room.paste("This is a paste")
room.upload("/path/to/file.jpg")
end
end.start
Message object gives you a hash of details about the message
{
"room_id" => 123456,
"created_at" => Wed Nov 17 20:06:44 +0000 2010,
"body" => "!go",
"id" => 12345,
"type" => "TextMessage",
"user" => {
"name" => "Red",
"created_at" => Tue Nov 16 13:48:19 +0000 2010,
"admin" => true,
"id" => 1111,
"type" => "Member",
"email_address" => "red@railslove.com"
}
}
Copyright (c) 2010 Red Davis. See LICENSE for details.
FAQs
Unknown package
We found that campfire_bot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.