Format some codes. Add ban command.