mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
didnt mean to remove this line!
This commit is contained in:
parent
0db0aa886b
commit
9983bb6e0e
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ export const StoreDataEvt = persistEvt({
|
|||
let persist = false;
|
||||
const persistData: IPartialPersistData = {};
|
||||
const config = await pluginData.config.getForUser(member.user);
|
||||
|
||||
const persistedRoles = config.persisted_roles;
|
||||
if (persistedRoles.length && member.roles) {
|
||||
const rolesToPersist = intersection(persistedRoles, [...member.roles.cache.keys()]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue