Fixed persistence

This commit is contained in:
Yessiest 2021-12-02 19:40:29 +04:00
parent cbd70316b9
commit 39907082cb
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
local plugin_class = import("classes.plugin")
local command = import("classes.command")
local plugin = plugin_class("roledefaults")
config.default_roles = {}
config.default_roles = config.default_roles or {}
client:on("memeberJoin",function(member)
for k,v in pairs(config.default_roles) do
member:addRole(v)