fix: panel importer
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
1ceb844df7
commit
89ce1991a5
@ -532,7 +532,7 @@ func ImportHandler(ctx *gin.Context) {
|
||||
// Import Panels
|
||||
log.Logger.Info("Importing panels", zap.Uint64("guild", guildId))
|
||||
for _, panel := range data.Panels {
|
||||
if _, ok := panelIdMap[panel.PanelId]; ok {
|
||||
if _, ok := panelIdMap[panel.PanelId]; !ok {
|
||||
if premiumTier < premium.Premium && panelCount > 2 {
|
||||
panel.ForceDisabled = true
|
||||
panel.Disabled = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user