(core): Add member name caching.
This commit is contained in:
@@ -14,7 +14,7 @@ meta = RowTable(
|
||||
|
||||
user_config = RowTable(
|
||||
'user_config',
|
||||
('userid', 'timezone', 'topgg_vote_reminder'),
|
||||
('userid', 'timezone', 'topgg_vote_reminder', 'avatar_hash'),
|
||||
'userid',
|
||||
cache=TTLCache(5000, ttl=60*5)
|
||||
)
|
||||
@@ -33,7 +33,8 @@ guild_config = RowTable(
|
||||
'video_studyban', 'video_grace_period',
|
||||
'greeting_channel', 'greeting_message', 'returning_message',
|
||||
'starting_funds', 'persist_roles',
|
||||
'pomodoro_channel'),
|
||||
'pomodoro_channel',
|
||||
'name'),
|
||||
'guildid',
|
||||
cache=TTLCache(2500, ttl=60*5)
|
||||
)
|
||||
@@ -51,6 +52,7 @@ lions = RowTable(
|
||||
'revision_mute_count',
|
||||
'last_study_badgeid',
|
||||
'video_warned',
|
||||
'display_name',
|
||||
'_timestamp'
|
||||
),
|
||||
('guildid', 'userid'),
|
||||
|
||||
Reference in New Issue
Block a user