Giter Site home page Giter Site logo

wall-e's Introduction

Wall-E, the friendly GroupMe bot

Some commands may be slow due to GroupMe API limitations and chat size

In addition to making a GroupMe bot, a separate bot account must be created if you don't want to use your own account token. This is needed to make certain API calls


Public Commands:

  • !mostliked d/w/m/a - most liked message in the chat within the last day, week, month, or all time

  • !fuelmyego - most liked message in the chat from the current user of all time

  • !tbt - a random image from the chat history

  • !myKarma - total likes received on your messages in the chat

  • !messagecount - how many messages have been sent in the chat

  • !nextevent - next event from the google calendar

  • !getevents {days} - google calendar events for the next {days} days

  • !playlist - Link spotify playlist

  • !discord - Link to discord server

  • !linkedin - Link to LinkedIn

  • !goodbot / !badbot - increases or decreases the bot's karma

  • !karma - shows bots overall rating

  • !coinflip - randomly returns heads or tails

  • !random # - returns a random number between 0 and the supplied number

  • !rename # - Renames a mentioned user of the sender's choice

Admin Commands:

  • !kick @user - kicks tagged user by nickname
  • !timeout - kicks someone then re-adds them automatically in 30 mins
  • !add - adds all temp kicked users

Helper Functions

  • sendText(string text) - sends a message to the current chat
  • sendImage(string text, string imageUrl) - sends a captioned image message to the current chat
  • getRndInteger(int min, int max) - returns a random int within the range
  • findMemberIdNick(int groupId, String nickName) - Returns MEMBER id given a nick name and group id (member id is different from user id)
  • findMemberIdReal(int groupId, String nickName) - Returns MEMBER id given a the original name of the user and group id (member id is different from user id)
  • JSONifyText(String str) - converts special character notation in javascript to JSON formatting
  • botDefense(String str) - detects if a user added a bot to the chat, removes user.

Developed with love by Brendan DeMilt and Andrew Chalfant.
Written with GoogleScripts

DataMap functions created by William Reed

wall-e's People

Contributors

brennyd avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.