simple-groupme-bot

1.1.0 • Public • Published

simple-groupme-bot

Build Status

A simple api for a groupme bot

First, register your bot here

Install

npm install simple-groupme-bot

Send a message with text, an image and location:

const Bot = require('simple-groupme-bot');

// Chainable functions, send in one swipe
// send() returns a promise with the response
new Bot()
	.setId('your_bots_id_here')
	.setText('I love NY!')
	.setImage('https://i.groupme.com/2560x1920.jpeg.62682df5264d4a9fbb83eb5bd861b944')
	.setLocation('-74.0059', '40.7128', 'NYC')
	.send()
	.then(res => {
		console.log(res);
	});

Readme

Keywords

Package Sidebar

Install

npm i simple-groupme-bot

Weekly Downloads

6

Version

1.1.0

License

ISC

Last publish

Collaborators

  • thomann061