Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
hubot-cc
Advanced tools
Readme
This script relies on a new Hubot v2.16.0 feature known as 'receive middleware'. It WILL NOT work on older versions of Hubot.
A Hubot script for defining aliases to easily @mention groups of people in a room or a global context.
See src/cc.coffee
for full documentation.
Install the hubot-cc module as a Hubot dependency by running:
npm install --save hubot-cc
Enable the module by adding the hubot-cc entry to your external-scripts.json
file:
[
"hubot-cc"
]
Run your bot and see below for available config / commands
Command | Listener ID | Description |
---|---|---|
hubot cc new-channel alias users... | cc.new.channel | Creates a new @alias to @mention all users... (space separated) in the context of the current room / channel |
hubot cc new-global alias users... | cc.new.global | Creates a new @alias to @mention all users... (space separated) in any context |
cc remove alias | cc.remove | Removes @alias from the current, and the global context |
cc list | cc.list | Returns all defined aliases |
The difference between new-channel
, and new-global
is that aliases created using the former (new-channel
) can only be triggered in the room / channel (context) that it was created in. Aliases created using the latter (new-global
) however, can be triggered in any context as long as the bot is present in it.
If there is an alias defined with the same name in a local (room / channel), and a global context, both of them may be triggered at the same time.
user1>> hubot cc new-global admins user1 user2 user3
hubot>> user1: The @admins alias has now been added / updated. Try it out!
user1>> Hello @admins!
hubot>> cc: @user1 @user2 @user3
FAQs
A Hubot script for defining aliases to easily @mention groups of people in a room or a global context.
The npm package hubot-cc receives a total of 1 weekly downloads. As such, hubot-cc popularity was classified as not popular.
We found that hubot-cc 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.