Skip to content

bot for our small and nasty community

Notifications You must be signed in to change notification settings

twowannabe/lbx-telebot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lbx-telebot

bot for our group community

Available commands:

/help or /h

Show this help.

/ver or /v

Show the current version.

/profile NAME PERIOD

Show the stored profile of the requester or another user.

Options:

  • NAME - target chat participant
  • PERIOD - custom period of statistic (e.g. 7d, 72h), should be > 0

/top NUM PERIOD

Show top users.

Options:

  • NUM - custom number of positions to show, should be > 0
  • PERIOD - custom period of statistic (e.g. 7d, 72h), should be > 0

/bottom NUM PERIOD

Show reversed rating

Options:

  • NUM - custom number of positions to show, should be > 0
  • PERIOD - custom period of statistic (e.g. 7d, 72h), should be > 0

/topic text

Set new title in the group

/event

Command for event. Send command without params for detailed instructions.

/today

Returns what happened on this day


/event create NAME

Create new event with NAME option. It could be sent in group chat or in a direct chat with Valera. You should have admin rights.

Option is required:

  • NAME - Uniq name for new event. Should be one word with chars and digits only

/event list [-a | all]

Show all active event. It could be sent in group chat or in a direct chat with Valera.

Options:

  • -a (or "all") shows all events either open or finished

/event info NAME

Show the event information and bets

Option is required:

  • NAME - Uniq name for new event. Should be one word with chars and digits only

/event my NAME

Show your personal bet in the particular event

Option is required:

  • NAME - Uniq name for new event. Should be one word with chars and digits only

/event my NAME rm

Remove your personal bet from the particular event

Option is required:

  • NAME - Uniq name for new event. Should be one word with chars and digits only

/event close NAME RESULT

Close event with NAME and RESULT options. It could be sent in group chat or in a direct chat with Valera.

You should have admin rights.

Options are required:

  • NAME - Uniq name for existing event. Should be one word with chars and digits only
  • RESULT - Result of the event. Should be number

/event result NAME

Show result for event with given name. It could be sent in group chat or in a direct chat with Valera.

Option is required:

  • NAME - Uniq name for existing event. Should be one word with chars and digits only

/event bet NAME VALUE

Make your bet with value. It could be sent in group chat or in a direct chat with Valera.

Options are required:

  • NAME - Uniq name for existing event. Should be one word with chars and digits only
  • VALUE - Your bet for this event. Should be number

/event share NAME

Share event in administered groups

Option is required:

  • NAME - Uniq name for existing event. Should be one word with chars and digits only`

About

bot for our small and nasty community

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%