Skip to content

thomann061/simple-groupme-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
	});

About

A simple api for a groupme bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published