An open API service indexing awesome lists of open source software.

https://github.com/dgisolfi/vibebot

Ensures all members of a Groupme chat are vibin. Warning: will remove users until the vibe is achieved.
https://github.com/dgisolfi/vibebot

flask groupme-bot

Last synced: about 2 months ago
JSON representation

Ensures all members of a Groupme chat are vibin. Warning: will remove users until the vibe is achieved.

Awesome Lists containing this project

README

          

# VibeBot WTFPL [![Package Pypi](https://img.shields.io/pypi/v/VibeBot.svg)](https://pypi.org/project/VibeBot)

Ensures all members of a Groupme chat are vibin. Warning: will remove users until the vibe is achieved.

### Author

**Daniel Gisolfi** - *All current work* - [dgisolfi](https://github.com/dgisolfi)

## Groupme Bot

A GroupMe bot can be created [here](https://dev.groupme.com/bots) and using the Groupme API can send messages to its assigned group. This particular bot uses a callback URL to be notified of new messages. Once notified the message will be parsed and a response will be created if the `USER_ID` of the sender matches that of the `USER_ID` environment variable.

## Usage

Once a bot is registered with Groupme the following requirements must be specified in the form of environment variables:

* **BOT_NAME** - The name of the bot to be refered to in the GroupChat

Example: `BOT_NAME='Officer Vibe'`

* **BOT_ID** - The assigned bot ID by GroupMe.

Example: `BOT_ID=a6a7a7a7a7a7a7a7a77a7a7`

* **GROUP_ID** - The ID of the Groupme Chat where the bot resides

Example: `GROUP_ID=0987890987`
* **API_TOKEN** - The api token for the authorized Groupme account

Example: `API_TOKEN=983u4ritgo0v98ujkorf`

After the environment variables have been set run the Flask server, `python3 -m VibeBot`

## Found a bug?

Please let us know! Submit an issue [here](https://github.com/dgisolfi/VibeBot/issues).