Compare commits
No commits in common. "76af70da062f298b2b0a21006cb7f60d353dc01e" and "8352b377bb718753d1c704250fd02f2f3a79f39e" have entirely different histories.
76af70da06
...
8352b377bb
3 changed files with 2 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
# any secret values.
|
# any secret values.
|
||||||
|
|
||||||
BOT_TOKEN=
|
BOT_TOKEN=
|
||||||
BOT_VER=0.8.2
|
BOT_VER=0.8.1
|
||||||
BOT_AUTHOR=Vylpes
|
BOT_AUTHOR=Vylpes
|
||||||
BOT_OWNERID=147392775707426816
|
BOT_OWNERID=147392775707426816
|
||||||
BOT_CLIENTID=682942374040961060
|
BOT_CLIENTID=682942374040961060
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "card-drop",
|
"name": "card-drop",
|
||||||
"version": "0.8.2",
|
"version": "0.8.1",
|
||||||
"main": "./dist/bot.js",
|
"main": "./dist/bot.js",
|
||||||
"typings": "./dist",
|
"typings": "./dist",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -29,10 +29,6 @@ export default class Inventory extends AppBaseEntity {
|
||||||
this.Quantity = quantity;
|
this.Quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public AddQuantity(amount: number) {
|
|
||||||
this.Quantity += amount;
|
|
||||||
}
|
|
||||||
|
|
||||||
public RemoveQuantity(amount: number) {
|
public RemoveQuantity(amount: number) {
|
||||||
if (this.Quantity < amount) return;
|
if (this.Quantity < amount) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue