npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-lamobot

v0.5.2

Published

Bot made to make feeding llamas easier with Hitbox.

Downloads

53

Readme

Lamobot

Bot made to make feeding llamas easier. (via Hitbox)

GitHub issues David David Build Status

Dependencies

  • NodeJS v7.1.0
  • Request v2.79.0
  • ws v1.1.1
  • node-logger latest
  • Standard v8.6.0 (dev)
  • mocha v3.2.0 (dev)

Configuration

The configuration is in json. More informations in documentation.

Currently you can change only these settings per channel:

  • messages
  • user
  • command aliases
  • enabled commands (to change the naming either create aliases or modify the code)
  • command prefix
  • name color

Remember that there can be only one whispers bot per account.

You have to set the Llama API endpoint and token. You can get both by asking me (but I can host the bot for you). However, your access to API may be limited if the bot is not flagged as official. Unofficial bots can only buy hay or bamboo as themselves (or users who authorized the application) and access any user points amount (which does not need authorization).

Contents

This repository contains basic library which allows to connect to a Hitbox chat server and receive and send messages.

You'll find also simple code made to use lamy API which currently lets you feed llamas & pandas, get user's points state and give points.

Index.js file contains code of the Lamobot - which will log in onto all users specified in the config and make connections to Hitbox websocket server, listen for commands and do what it has to do. It will also send message to all configured channels when someone feeds successfuly.

Default configuration contains all message strings in Polish as the bot is directed to Polish users.

Pull requests

Any pull request will be welcome.

What is not implemented yet?

The bot still may throw "unimplemented message" into the log as it still does not ignore sticky messages, banned/unbanned/kicked notifications and new subscriber info message.

Any token will be accepted by the bot as it does not check is the token valid. However, server will reject unauthorized requests.

Standard - JavaScript Style Guide