Commit Graph

5 Commits

Author SHA1 Message Date
db98cc21b2 GeneralUtil: Add download file function 2023-08-07 16:21:29 +02:00
e2dab416f2 GeneralUtils/Profile: Shorten numbers to K M B format
- Implemented for currencies on the profile
2023-07-31 15:52:42 +02:00
2ef1dfe7a7 Trade: Persist trades in the database
using atomic transactions.
If a card happens to not be owned by the trading user, the entire
trade is being rolled back.
Rollback behaviour is a bit weird though, since we have to rollback
manually even in a managed transaction.
2023-01-02 22:49:46 +01:00
eb4ffae173 Add command permission checks
Level 0: Every user - Public commands
Level 1: Guild owners or members with respective admin role - Elevated guild commands
Level 2: Global admins - Every command including levels below
2022-08-19 19:18:01 +02:00
51e90dee8a Add helper function for bot settings
and fix registration check always returning true
2022-08-19 14:14:24 +02:00