Use !jhelp for ALL commands:
Jail Bot Usage:
Getting a List of all Jailed Clients:
!jail
Jailing a Client PERMANENTLY:
!jail Some Client
!jail abcdefghi/jklmnopq123456789a=
!jail Some
Jailing a Client TEMPORARY
You can jail a client temporary by writing a duration in front of his name
!jail 100 hours abcdefghi/jklmnopq123456789a=
Valid times are: Second(s), Minutes(s), Hours(s), Day(s)!
For unjailing a Client:
!unjail <clienturl|uid|namepart>
does the bot have enough permissions to add the group?
how does your config look like?