Socket
Book a DemoInstallSign in
Socket

bomb-party-bot

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bomb-party-bot

Included in this package are type declarations and an abstraction for each to use be used in bot development (primarly for BombParty & PopSauce).

latest
npmnpm
Version
1.2.3
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

bomb-party-bot

A lightweight up-to-date JKLM.FUN API wrapper

Included in this package are type declarations and an abstraction for each to use be used in bot development (primarly for BombParty & PopSauce).

Disclaimer: dictionaries are not included in this package. Use bomb-party-word-searcher for a list of english words.

Installation

Install the package using npm to get started.

npm install bomb-party-bot

Usage

ES6 Typescript Example

import { generateToken, joinRoom } from "bomb-party-bot";

export async function helloWorld(roomid: string, token = generateToken(), master=false) {
	let room = await joinRoom({roomid, "username", token})

	room.on("chat", (player, message)=>{
		if (message.toLowerCase() == '!ping') {
            room.chat("Pong.")
		}
	})
}

Collaborators

UserDescription
dragonismcodeCo-authorted Pop Sauce API

FAQs

Package last updated on 07 Jul 2022

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