x-team / the-vault

The Vault Coin counter
MIT License
3 stars 2 forks source link

Ability to gift coins to another user #53

Open ryanchartrand opened 6 years ago

ryanchartrand commented 6 years ago

New command: /gift-coins [@user] [amount]

Functionality: gives coins to another user, subtracts from the user doing the command.

If the user does not have the amount of coins they are trying to give, send an error message: "Sorry, you don't have that many coins yet. Try again with a lesser amount."

If the user identified in the command does not exist, send an error message: "Sorry, that user doesn't exist. Please try again."

If the user does have the amount of coins:

malgorzatajezierska commented 6 years ago

@ryanchartrand how many coins a does a user have? At Xfive, each of us has 3 coins per month. If we don't distribute all of them during a month, they're gone and starting from 1st day of the new month, we have again 3 coins to distribute.

ryanchartrand commented 6 years ago

@malgorzatajezierska They earn them individually through community activities, so they aren't given them until they earn them. They currently don't ever expire, although that could become an option one day if we find people aren't spending them (most do spend them which is good).