public static void LinkedAdminDisabled(LinkLeaf.Leaf leaf, IClient client) { if (DefaultCommands) { cmds.LinkedAdminDisabled(leaf, client.IUser); } js.LinkedAdminDisabled(leaf, client.IUser); ExtensionManager.Plugins.ForEach(x => { try { x.Plugin.LinkedAdminDisabled(leaf, client != null ? client.IUser : null); } catch { } }); }
public static void LeafParted(LinkLeaf.Leaf leaf) { if (DefaultCommands) { cmds.LeafParted(leaf); } js.LeafParted(leaf); ExtensionManager.Plugins.ForEach(x => { try { x.Plugin.LeafParted(leaf); } catch { } }); }