🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

cinch-yaml-score

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cinch-yaml-score

bundlerRubygems
Version
1.2.0
Version published
Maintainers
1
Created
Source

Cinch YAML score plugin

Code Climate

A Cinch plugin to count +1, scores are saved in yaml file for persistence.

Installation

First install the gem by running:

gem install cinch-yaml-score

Then load it in your bot:

require "cinch"
require "cinch/plugins/yamlscore"

bot = Cinch::Bot.new do
  configure do |c|
    c.plugins.plugins = [Cinch::Plugins::YamlScore]
    # The following line is optional, if committed there will be no message.
    c.plugins.options[Cinch::Plugins::YamlScore] = { warn_no_user_message: "User %s is not in the channel, who do you want to score?" }
  end
end

bot.start

Commands

!scores
!score <user>
<user>[,:]? [+-]1
<user>[,:]? ?[+-]{2}$

FAQs

Package last updated on 30 Aug 2014

Did you know?

Socket

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.

Install

Related posts