hopfenspace / MateBot

Micro service providing an API for MateBot clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the /vouch command

CrsiX opened this issue · comments

commented

The command vouch should be available for internal users only. After doing /vouch <username>, the internal user can vouch for an external user. The external user's creditor field must be set to the ID of the internal user. Afterwards, the external user should be able to interact in certain extra ways with the bot (see below).

The following list of commands should only be executable by external users that have an internal creditor:

  • /send
  • /zwegat
  • /blame
  • /communism (however, how should the other folks now about it when it's obviously not posted in the internal group chat?)
  • /pay (however, how should the other folks now about it when it's obviously not posted in the internal group chat?)
  • any consume command, e.g. currently /drink or /ice

The external users should always be able to execute the following commands, no matter whether they have a creditor user or not:

  • /balance
  • /data
  • /history
  • /help
  • /start (because just everybody must be able to perform this command)

This issue is tagged as feature discussion in order to review and maybe change the lists of commands.

commented

The command /vouch and its callback query has been implemented. Therefore, this issue will be closed. However, some other things need to be changed as well, e.g. support for the voucher system in the other commands.