
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
This helper for Tiltify is meant to act as an extension streamers' twitch bots in order to make interfacing with the Tiltify Donations platform more easily.
If you like what you see, consider visiting my patreon, or visit my twitch page for a paypal donation link.
This is under VERY heavy development. Please visit GitHub for up-to-date developments as we push toward release.
Causes Module Implemented with Fetch Endpoint to begin with, further functionality to come. (Documentation is slightly behind here) This "fetch" protocol to acquire individual information bits such as name, description, etc. about individual campaigns.
npm install tiltify
const tiltify = require(`tiltify`);
const config = require('./config'); // Great to store variables safely
const tmi = require('tmi.js'); // Recommended for chat functionality, though not strictly necessary to function.
const client = new tmi.client(config);
let tiltifyOpts = {
access_token: `************************************************`,
campaign_id: `*****`
}
const Tiltify = require(`tiltify`);
// Call once per command
const tiltify = new Tiltify(tiltifyOpts.access_token);
tiltify.Campaigns.getLastDonation(tiltifyOpts.campaign_id, function (err, result) {
if (result.comment) {
client.action(channel, `Last Donation: ${result.name} donated $${result.amount}! "${result.comment}"`)
} else {
client.action(channel, `Last Donation: ${result.name} donated $${result.amount}! curseLit`)
}
});
tiltify.Campaigns.getRewards(tiltifyOpts.campaign_id, function (err, result) {
result.forEach((data) => {
client.action(channel, `${data.name} Unlocked! ${data.remaining} Remain to be claimed! curseLit`)
}
});
Option 1 [multi-point fetch]
tiltify.Campaigns.fetch(campaign_id, function (err, campaign) {
client.action(channel, `Welcome To ${campaign.name}! Donate here: ${campaign.url}`)
});
Option 2 [Single-point fetch]
tiltify.Campaigns.fetch(`name`, tiltifyOpts.campaign_id, function (err, result) {
client.action(channel, `Currently Raising Money for ${data}! Donate at the link below.`)
});
tiltify.Causes.fetch(campaign.causeId, function (err, cause) {
client.action(channel, `${channel.slice(1)} is currently Raising Money for ${cause.name} as part of the ${campaign.name}! ${cause.about}`)
})
Developed by Cazgem for personal use at (https://twitch.tv/cazgem) as well as for his chatbot, Polyphony.
Started: Oct 18, 2020
FAQs
Tiltify API Interface
The npm package tiltify receives a total of 0 weekly downloads. As such, tiltify popularity was classified as not popular.
We found that tiltify 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.