Skip to content

ykhr53/bmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMO

Build Status codecov

What's this

BMO is a slack bot.

Required package

Thank you nlopes@, for providing this great library.
https://github.com/nlopes/slack

and some others... please see go.mod.

Environment variables

BMO requires three environment variables.

  • SLACKTOKEN
    you can find it in your app's settings under Install App > Bot User OAuth Access Token
    It starts with "xoxb-".
  • VTOKEN
    It's in Basic Information setting, showed as "Verification Token".
  • BOTUNAME
    Unique user ID of the bot, starts with "U"

Functions

vote

Syntax

Increment name's the number of votes.

name++ <discription>

Decrement name's the number of votes.

name-- <discription>

BMO can hook and combine multiple votes.

name++ name-- name++ foo++ <discription>

Features

  • accept HTTP health check 👩‍⚕️

About

BMO the slack bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published