jerrita 7 maanden geleden
bovenliggende
commit
76be8a3d71
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      plugins/anon/muri.py

+ 2 - 2
plugins/anon/muri.py

@@ -61,11 +61,11 @@ class MuriPlugin(Plugin):
                             return True
                         gn = args[3]
                         if args[2] == 'add':
-                            self.groups.append(gn)
+                            self.groups.append(int(gn))
                             await event.reply(f'Group {gn} added.')
                         elif args[3] == 'del':
                             try:
-                                self.groups.remove(args[3])
+                                self.groups.remove(int(gn))
                                 await event.reply(f'Group {gn} deleted.')
                             except Exception as e:
                                 await event.reply(f'Err: {e}')