|
@@ -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}')
|