jerrita 7 meses atrás
pai
commit
76be8a3d71
1 arquivos alterados com 2 adições e 2 exclusões
  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}')