Core user data and leaderboard commands.

Added flexibility to data `update_where`.
Added interactive utils, with improved pager.
Added user data table, with caching and transactional interface.
Added `topcoins` command to `Economy`
Added `top` command to `Study`
This commit is contained in:
2021-08-26 22:34:46 +03:00
parent 05cb9650ee
commit 459a728968
18 changed files with 899 additions and 13 deletions

View File

@@ -441,3 +441,12 @@ def jumpto(guildid: int, channeldid: int, messageid: int):
channeldid,
messageid
)
class DotDict(dict):
"""
Dict-type allowing dot access to keys.
"""
__getattr__ = dict.get
__setattr__ = dict.__setitem__
__delattr__ = dict.__delitem__